Imandrakit_io.Popen
Run sub-processes.
This gives more control than the equivalent Unix
APIs.
type t = private {
stdin : out_channel;
stdout : in_channel;
stderr : in_channel;
pid : int;
_st : state;
}
A sub-process
val pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val run : ?env:string array -> string -> string list -> t
Run subprocess with given command
val run_shell : ?env:string array -> string -> t
Run subprocess with given command
val res_code : t -> int Moonpool.Fut.t
val wait : t -> int
val kill : t -> unit
val signal : t -> int -> unit
val stopped : t -> bool
We know that we have stopped the process