Pi.MGR
val pipe :
t ->
sw:Switch.t ->
[ Flow.source_ty | Resource.close_ty ] Std.r
* [ Flow.sink_ty | Resource.close_ty ] Std.r
val spawn :
t ->
sw:Switch.t ->
?cwd:Fs.dir_ty Path.t ->
?stdin:Flow.source_ty Std.r ->
?stdout:Flow.sink_ty Std.r ->
?stderr:Flow.sink_ty Std.r ->
?env:string array ->
?executable:string ->
string list ->
tag ty Std.r