Low_level.Processmodule Fork_action = Eio_unix.Private.Fork_actionSetup actions to perform in the child process.
val spawn : sw:Eio.Std.Switch.t -> Fork_action.t list -> tspawn ~sw actions forks a child process, which executes actions. The last action should be Fork_action.execve.
You will typically want to do Promise.await (exit_status child) after this.
val signal : t -> int -> unitsignal t x sends signal x to t.
This is similar to doing Unix.kill t.pid x, except that it ensures no signal is sent after t has been reaped.
val pid : t -> intval exit_status : t -> Unix.process_status Eio.Std.Promise.texit_status t is a promise for the process's exit status.