pub fn kill_process_tree(child: &mut Child) -> Result<()>Expand description
Kills child and, on Unix, every process of the group own_process_tree gave it; call it
before the child is reaped, while its id still names the group. On Windows dropping the
child’s job ends the processes the child started.
§Errors
When the child cannot be killed.