[][src]Function unix_exec_piper::update_process_states

pub fn update_process_states(
    states: &mut Vec<ProcessState>,
    wnohang: bool
) -> bool

Updates the process state values if the pid is done running. Returns true if all pids are finished, otherwise false.

  • wnohang if waitpid uses WNOHANG-flag. In other words: true means "wait blocking" and false means "update but don't block".