Function kill_tree::kill_tree_with_signal
source · pub async fn kill_tree_with_signal(
process_id: ProcessId,
signal: &str
) -> Result<Outputs, Box<dyn Error + Send + Sync>>
Expand description
Kills all of target process and its children recursively with the given signal. Signal value is ignored on Windows.
§Errors
Unexpected error occurred.