fork, exec and wait on WINDOWS?

Fredrik Lundh fredrik at effbot.org
Wed Jan 31 05:57:30 EST 2001


Nigel W. Moriarty wrote:
> I have an app that needs to run on UNIX and Windows.
> I have the UNIX fork() and exec() setup but how doe
> one do a similar thing in Windows?

os.spawnv/spawnve.

for more info, see "process management" in the library reference:

    http://www.python.org/doc/current/lib/os-process.html

Cheers /F

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->





More information about the Python-list mailing list