pymead.utils.pymead_mp.collect_child_processes#

collect_child_processes(parent_pid: int) List[Process][source]#

Recursively gathers all the child processes of a parent process (up to the default Python recursion depth) and casts them to a list.

Parameters:

parent_pid (int) – Process ID of the parent

Returns:

List of all child processes of the parent process

Return type:

List[psutil.Process]