Skip to main content

is_process_alive

Function is_process_alive 

Source
pub fn is_process_alive(pid: u32) -> bool
Available on crate feature sysinfo only.
Expand description

Check whether a process with the given PID is currently alive.

Used by polars_ooc::cleaner::cleanup_stale_dirs to remove spill directories left behind by dead processes on startup.