Skip to main content

kill_tree

Function kill_tree 

Source
pub fn kill_tree(child: &Child)
Expand description

Kill the whole process group (Unix). Best-effort on Windows (post-v1: job object). M-5: guard against pid 0/None (would signal the caller’s own group if the child already exited and id() returned None).