pub fn kill_pid_on_exit(pid: u32, kill_group: bool) -> KillPidOnExitExpand description
Registers pid to be killed by exits that skip destructors (watchdog
timeout/OOM, allocation failure), for as long as the returned guard lives.
Set kill_group = true when the child is a Unix process-group leader.