5.1.1.9. kill_process_and_children

mfutil.kill_process_and_children(pid)[source]

Kill recursively a complete tree of processes.

Given a pid, this method recursively kills the complete tree (children and children of each child…) of this process.

The SIGKILL signal is used.

Parameters

pid (int) – process PID to kill.