Wait for all child processes.
fn wait_all(flags: WaitFlags) -> Result<(i32, ChildStatus), Errno>
The flags used for this wait operation.
Returns the process id of the child and its status.