pid_is_alive

Function pid_is_alive 

Source
pub fn pid_is_alive(pid: u32) -> bool
Expand description

Best-effort check whether a PID exists.

On Unix this uses kill(pid, 0) and treats EPERM as alive.