os.execl()
Aahz Maruch
aahz at panix.com
Mon Aug 27 12:13:55 EDT 2001
In article <200108271445.f7REjT7k007185 at smtp5.andrew.cmu.edu>,
Brian E Gallew <geek+ at andrew.cmu.edu> wrote:
>
>Yes, os.spawnv() is easier to use, but it's only available on Windows.
>os.fork() is only available on Unix. This restriction is noted in the
>1.5.2 documentation (which I'm still using).
os.spawnv() is available on Unix in later versions of Python, so you have
two options:
* Upgrade to Python 2.1.1 (it's actually fixed earlier, but if you're
upgrading, you might as well get the best)
* Grab the os module from a later Python version and backport it to
1.5.2 if necessary.
Unless you've got a compelling reason, I recommend the first option.
--
--- Aahz <*> (Copyright 2001 by aahz at pobox.com)
Hugs and backrubs -- I break Rule 6 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista
"Plus ca change, plus c'est la meme chose."
More information about the Python-list
mailing list