Skip to main content

is_running

Function is_running 

Source
pub fn is_running() -> Result<bool, ProcessError>
Expand description

Returns true when the PID file exists and the named process is alive. Missing PID file or stale PID both yield false.