pub fn is_process_alive(pid: u32) -> bool
Checks whether the process with the given PID is still alive.
Uses kill(pid, 0) — signal 0 checks existence without delivering a signal.
kill(pid, 0)