pub fn terminate_tree(child: &mut Child, grace: Duration)Expand description
Stop a child started with own_process_tree and reap it. With a
non-zero grace, the tree is first asked to exit (SIGTERM on Unix) and
gets that long to do so: until the child and, on Unix, every process left
in its group are gone. Whatever remains is then killed with kill_tree.