pub fn kill_tree(
child: &mut Child,
terminate_timeout: Duration
) -> SignalResult<()>
Expand description
Terminates and reaps a child process. If the child process is a group leader, its children will be terminated and reaped as well. After the given timeout, the child process and any relevant children are killed (i.e. sent SIGKILL).