package spin
Module Spin_std.SpawnSource
include module type of struct include Spawn end
Note: on Unix, spawn uses vfork by default. It has been tested, but if you believe this is causing a problem in your application, you can change this default at runtime by setting the environment variable SPAWN_USE_FORK.
Process group IDs
Source
val spawn :
?env:Env.t ->
?cwd:Working_dir.t ->
?stdin:Unix.file_descr ->
?stdout:Unix.file_descr ->
?stderr:Unix.file_descr ->
string ->
string list ->
intSource
val exec :
?env:Env.t ->
?cwd:Working_dir.t ->
?stdin:Unix.file_descr ->
?stdout:Unix.file_descr ->
?stderr:Unix.file_descr ->
string ->
string list ->
(unit, string) result