package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Subprocess_error of (string * Unix.process_status) list
type producer
type consumer
type assignment
val command : ?cmdname:string -> ?arguments:string array -> ?chdir:string -> ?environment:Shell_sys.environment -> ?descriptors:Unix.file_descr list -> ?assignments:assignment list -> string -> Shell_sys.command
val cmd : ?cmdname:string -> ?chdir:string -> ?environment:Shell_sys.environment -> ?descriptors:Unix.file_descr list -> ?assignments:assignment list -> string -> string list -> Shell_sys.command
val call : ?ignore_error_code:bool -> ?mode:Shell_sys.group_mode -> ?stdin:producer -> ?stdout:consumer -> ?stderr:consumer -> Shell_sys.command list -> unit
val setup_job : ?stdin:producer -> ?stdout:consumer -> ?stderr:consumer -> Shell_sys.command list -> Shell_sys.job * Unix.file_descr list
val postprocess_job : ?ignore_error_code:bool -> Shell_sys.job_instance -> unit
val assign : src:Unix.file_descr -> target:Unix.file_descr -> assignment
val assigned_pair : assignment -> Unix.file_descr * Unix.file_descr
val stdin : Unix.file_descr
val stdout : Unix.file_descr
val stderr : Unix.file_descr
val from_string : ?pos:int -> ?len:int -> ?epipe:(unit -> unit) -> string -> producer
val from_stream : ?epipe:(unit -> unit) -> string Stream.t -> producer
val from_function : producer:(Unix.file_descr -> bool) -> unit -> producer
val from_file : string -> producer
val from_fd : Unix.file_descr -> producer
val from_dev_null : producer
val to_buffer : Buffer.t -> consumer
val to_function : consumer:(Unix.file_descr -> bool) -> unit -> consumer
val to_file : ?append:bool -> string -> consumer
val to_fd : Unix.file_descr -> consumer
val to_dev_null : consumer
OCaml

Innovation. Community. Security.