waitid

Function waitid 

Source
pub fn waitid<'a, Id: Into<WaitId<'a>>>(
    id: Id,
    options: WaitIdOptions,
) -> Result<Option<WaitIdStatus>>
Available on crate feature process and neither target_os=espidf nor target_os=vita nor WASI and neither Cygwin nor target_os=horizon nor OpenBSD nor Redox nor WASI only.
Expand description

waitid(_, _, _, opts)—Wait for the specified child process to change state.