Waiting for an external process

Mark Hammond Mark.Hammond at p98.f112.n480.z2.fidonet.org
Sat Jul 3 19:34:38 EDT 1999


From: "Mark Hammond" <MHammond at skippinet.com.au>

Juan M. Gonzalez wrote in message <377D9E05.E4F91D2F at globalserve.net>...
>Is there a better way to determine when an external process has finished
>than using
>win32process.CreateProcess / GetExitCodeProcess ?

Depends what you mean by "better".  Using win32process, it is possible to
have an event set when the process terminates, which can avoid polling.  Im
not sure if this meets your definition of "better" tho - certainly not
"simpler".

Mark.






More information about the Python-list mailing list