Up

Module Process = Process

Signature

module Output : sig .. end
val create : ?kill:unit Async.Std.Deferred.t -> ?kill_how:[
| `by_group
| `by_pid
] -> prog:string -> args:string list -> ?env:Async.Std.Process.env -> ?working_dir:string -> ?stdin:string -> f:(Core.Std.Pid.t -> stdin:Async.Std.Writer.t -> stdout:Async.Std.Reader.t -> stderr:Async.Std.Reader.t -> 'a Async.Std.Deferred.t) -> unit -> ('a * Core.Std.Unix.Exit_or_signal.t) Async.Std.Deferred.t
type file_descr = Core.Std.Unix.File_descr.t
val create_fds : kill:unit Async.Std.Deferred.t -> ?kill_how:[
| `by_group
| `by_pid
] -> prog:string -> args:string list -> ?env:[
| `Extend of (string * string) list
| `Replace of (string * string) list
| `Replace_raw of string list
] -> stdin:file_descr -> stdout:file_descr -> stderr:file_descr -> f:(Core.Std.Pid.t -> unit) -> unit -> Async.Std.Unix.Exit_or_signal.t Async.Std.Deferred.t
val create_fds' : kill:unit Async.Std.Deferred.t -> ?kill_how:[
| `by_group
| `by_pid
] -> prog:string -> args:string list -> ?env:[
| `Extend of (string * string) list
| `Replace of (string * string) list
| `Replace_raw of string list
] -> stdin:file_descr -> stdout:file_descr -> stderr:file_descr -> f:(Core.Std.Pid.t -> 'a Async.Std.Deferred.t) -> unit -> ('a * Async.Std.Unix.Exit_or_signal.t) Async.Std.Deferred.t
val open_in : ?is_ok:(Core.Std.Unix.Exit_or_signal.t -> bool) -> ?kill:unit Async.Std.Deferred.t -> prog:string -> args:string list -> unit -> Async.Std.Reader.t Output.t Async.Std.Deferred.t
type 'a backtick = ?kill:unit Async.Std.Deferred.t -> ?env:Async.Std.Process.env -> prog:string -> args:string list -> ?working_dir:string -> ?stdin:string -> unit -> 'a
val backtick : string Output.t Async.Std.Deferred.t backtick
val backtick_new : (string, exn) Core.Std.Result.t Async.Std.Deferred.t backtick
val backtick_new_exn : string Async.Std.Deferred.t backtick