sebulba has asked for the wisdom of the Perl Monks concerning the following question:

How can I get on Unix and PC a list of all the childs of a process? can anyone please help? thanks sebulba

Replies are listed 'Best First'.
Re: process child list
by halley (Prior) on Aug 14, 2003 at 15:33 UTC
Re: process child list
by NetWallah (Canon) on Aug 14, 2003 at 18:05 UTC
    If this is just a quick hack, it may save time to use the OS-supplied or external tools, and parse the result.

    On Unix, I believe a varient of 'ps' would get you the list.

    On Win32, you will need 'pslist' from sysinternals.com.