Spin.SpawnSourceinclude module type of struct include Spin_std.Spawn endinclude module type of struct include Spawn endNote: 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.
module Working_dir = Spin_std.Spawn.Working_dirmodule Unix_backend = Spin_std.Spawn.Unix_backendmodule Env = Spin_std.Spawn.Envmodule Pgid = Spin_std.Spawn.PgidProcess group IDs
val spawn :
?env:Env.t ->
?cwd:Working_dir.t ->
?stdin:Unix.file_descr ->
?stdout:Unix.file_descr ->
?stderr:Unix.file_descr ->
string ->
string list ->
int