Skip to main content

is_running

Function is_running 

Source
pub fn is_running(key: ProcKey) -> bool
Expand description

Whether the process key names is still the one running under its PID (it hasn’t exited, and no newer process has reused the PID). Check it before and after reading anything about a process by PID.