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]