pub fn test_kill_process_group(pid: Pid) -> Result<()>
kill(-pid, 0)—Check validity of pid and permissions to send signals to all processes in the process group, without actually sending any signals.
kill(-pid, 0)