Expand description
Child processes (IO.Process.spawn and IO.Process.Child), with fork and execvp as in
the C runtime: a command that cannot be executed is reported by the child on its standard
error, and the child exits with 255.
Functions§
- lean_
io_ ⚠process_ child_ kill Child.kill : (@& Child cfg) → IO Unit:SIGKILLto the process, or to its process group when it was spawned withsetsid.- lean_
io_ ⚠process_ child_ pid Child.pid : Child cfg → UInt32(consumeschild).- lean_
io_ ⚠process_ child_ take_ stdin Child.takeStdin : Child cfg → IO (cfg.stdin.toHandleType × Child ..)(consumeschild): the stdin handle, and the child without it.- lean_
io_ ⚠process_ child_ try_ wait Child.tryWait : (@& Child cfg) → IO (Option UInt32).- lean_
io_ ⚠process_ child_ wait Child.wait : (@& Child cfg) → IO UInt32.- lean_
io_ ⚠process_ spawn IO.Process.spawn : SpawnArgs → IO (Child args.toStdioConfig)(consumesargs).