uwt

libuv bindings
IN THIS PACKAGE
Module Uwt . Process
type t
val close : t -> Int_result.unit
val close_noerr : t -> unit
val close_wait : t -> unit Lwt.t
val is_active : t -> bool
val ref' : t -> unit
val unref : t -> unit
val has_ref : t -> bool
val to_handle : t -> Handle.t
type stdio =
| Inherit_file of file
| Create_pipe of Pipe.t
| Inherit_pipe of Pipe.t
| Inherit_stream of Stream.t
| Create_pipe_read of Pipe.t
| Create_pipe_write of Pipe.t
| Create_pipe_duplex of Pipe.t
type exit_cb = t -> exit_status:int -> term_signal:int -> unit
val spawn : ?stdin:stdio -> ?stdout:stdio -> ?stderr:stdio -> ?uid:int -> ?gid:int -> ?verbatim_arguments:bool -> ?detach:bool -> ?hide:bool -> ?env:string list -> ?cwd:string -> ?exit_cb:exit_cb -> string -> string list -> t uv_result
val spawn_exn : ?stdin:stdio -> ?stdout:stdio -> ?stderr:stdio -> ?uid:int -> ?gid:int -> ?verbatim_arguments:bool -> ?detach:bool -> ?hide:bool -> ?env:string list -> ?cwd:string -> ?exit_cb:exit_cb -> string -> string list -> t
val disable_stdio_inheritance : unit -> unit
val pid : t -> Int_result.int
val pid_exn : t -> int
val process_kill : t -> int -> Int_result.unit
val process_kill_exn : t -> int -> unit
val kill : pid:int -> signum:int -> Int_result.unit
val kill_exn : pid:int -> signum:int -> unit