Skip to main content

process_exists

Function process_exists 

Source
pub fn process_exists(pid: pid_t) -> bool
Expand description

Check if a process exists (kill with signal 0). Returns true if the process exists, false otherwise. SAFETY: pid must be a valid process ID.