Process forking on Windows

Gary Herron gherron at islandtraining.com
Wed May 17 11:47:39 EDT 2006


Andrew Robert wrote:

>Hi everyone,
>
>
>I have a python program that will need to interact with an MQSeries
>trigger monitor.
>
>It does this fine but it hogs the trigger monitor while it executes.
>
>I'd like to fork the program off and terminate the parent process so
>that the trigger monitor frees up.
>
>
>Does anyone how this can be accomplished on a Windows platform?
>
>I've looked at doing this via the subprocess module but this doesn't
>look like the correct approach.
>
>Any help you can provide would be greatly appreciated.
>
>Thanks
>  
>
The "subprocess" module gives a (mostly) platform independent way for 
one process to start another.   It provides a number of bells and 
whistles, and is the latest module on a long history of older modules to 
provide such functionality. 

Gary Herron




More information about the Python-list mailing list