Low_level.Process
SourceA child process.
Setup actions to perform in the child process.
spawn ~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.
signal 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.
exit_status t
is a promise for the process's exit status.