pub async fn wait_child(
    proc: &Arc<Process>,
    pid: KoID,
    nonblock: bool
) -> LxResult<ExitCode>
Expand description

Wait for state changes in a child of the calling process, and obtain information about the child whose state has changed.

A state change is considered to be:

  • the child terminated.
  • the child was stopped by a signal. TODO
  • the child was resumed by a signal. TODO