A way to discover PIDs of child processes?

2006-02-17 Thread schreckmail
Hi all! I'm launching a subprocess using the following code, and I'd like to kill off all associated subprocesses after a given timeout: myproc = popen2.Popen3(command) Now, because the command is executed in the shell, I end up with the following process tree: PIDPPIDPGID WIN

Re: A way to discover PIDs of child processes?

2006-02-17 Thread schreckmail
Donn, Your suggestion worked perfectly. Thank you for showing me the forest from the trees :-) -- http://mail.python.org/mailman/listinfo/python-list