Create a new process to run python function

Christian Heimes lists at cheimes.de
Wed May 5 09:29:25 EDT 2010


Joe Riopel wrote:
> On Wed, May 5, 2010 at 8:56 AM, Massi<massi_srb at msn.com>  wrote:
>> but this does not work, since the two threads share the same pid. Can
>> anyone give me a suggestion?
>
> Have you looked at os.fork ?
> http://docs.python.org/library/os.html#os.fork

Fork on Windows XP? Have a lot of fun ... The NT Kernel has support for 
forking but neither the Win32 API nor Python supports it.

Christian




More information about the Python-list mailing list