wait

Function wait 

Source
pub fn wait(pid: Pid) -> Result<usize, ErrorStatus>
Expand description

Waits for the process with the resource id pid to exit and returns the exit code of the process

§Returns