pymead.utils.pymead_mp.kill_child_processes#

kill_child_processes(parent_pid: int, sig: int = Signals.SIGTERM)[source]#

Kills all child processes (using SIGTERM) of a process with a given PID.

Parameters:
  • parent_pid (int) – Process ID of the parent

  • sig (int) – Signal to send (SIGTERM by default)