[Python-Dev] Fork on Win32 - was (test_fork1 failing...)

M.-A. Lemburg mal@lemburg.com
Fri, 28 Jul 2000 12:21:08 +0200


Neil Hodgson wrote:
> 
> > Getting?  I'm very old.  I think.  But even if I had a memory, I usually
> > ignore Unix-specific posts (i.e., I can't run code with a .fork(), so can
> > only sit back & admire the perversity of those who both can & do <wink>).
> 
>    IIRC ActiveState contributed to Perl a version of fork that works on
> Win32. Has anyone looked at this? Could it be grabbed for Python? This would
> help heal one of the more difficult platform rifts. Emulating fork for Win32
> looks quite difficult to me but if its already done...

This would indeed be a *very* useful addition and help porting
os.fork() applications to Win32. (Ok, in the long run they would
have to be converted to multi-threaded apps due to the process
creation overhead on Win32, but for short term porting to Win32
this would be a Cool Thing, IMHO.)

Can this code be grabbed from somewhere ?

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/