manipulating child processes under Windows

Colin Brown cbrown at metservice.com
Tue Jun 4 21:47:08 EDT 2002


"Douglas Alan" <nessus at mit.edu> wrote in message
news:lcptz7zw0m.fsf at gaffa.mit.edu...
>
> (2) What's the best way for me to solve the problem.  I.e., what's the
>     best way to get my Python script to wait for the real program to
>     terminate?
>
> |>oug

To locate a grandchild process and get its pid and handle on Win2000 you
could examine the output of the freeware program "pslist -t"
(www.sysinternals.com). After that use win32 routines as usual.

Colin Brown
PyNZ





More information about the Python-list mailing list