Skip to main content

kill_process_group_by_pid

Function kill_process_group_by_pid 

Source
pub fn kill_process_group_by_pid(pid: u32) -> Result<()>
Expand description

Kill the process group for the given PID (best-effort).

This resolves the PGID for pid and sends SIGKILL to the whole group.