pub fn pid_alive(pid: i64) -> bool
Whether pid is alive: kill(pid, 0) succeeds, or fails with EPERM (alive but not ours).
pid
kill(pid, 0)
EPERM