
David Ascher wrote:
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...
Sigh. Me tired.
The message I posted a few minutes ago was actually referring to the system() work, not the fork() work. I agree that the fork() emulation isn't Pythonic.
What about porting os.kill() to Windows (see my other post with changed subject line in this thread) ? Wouldn't that make sense ? (the os.spawn() APIs do return PIDs of spawned processes, so calling os.kill() to send signals to these seems like a feasable way to control them) -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/