diff options
author | Guido van Rossum <guido@python.org> | 2001-04-11 20:58:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-04-11 20:58:20 (GMT) |
commit | 2242f2fbd0d50546ad79e800efbc6f0a2334bd0b (patch) | |
tree | 4f52d18335ba8cec2f482a3d2b7fd1c9a7ee2a9a /Lib/test/test_fork1.py | |
parent | 11e89c72c1912ce834b6295f023c5096cc384d2a (diff) | |
download | cpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.zip cpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.tar.gz cpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.tar.bz2 |
Unixware 7 support by Billy G. Allie (SF patch 413011)
Diffstat (limited to 'Lib/test/test_fork1.py')
-rw-r--r-- | Lib/test/test_fork1.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_fork1.py b/Lib/test/test_fork1.py index de9f7a9..51e6c58 100644 --- a/Lib/test/test_fork1.py +++ b/Lib/test/test_fork1.py @@ -48,7 +48,10 @@ def main(): prefork_lives = alive.copy() - cpid = os.fork() + if sys.platform in ['unixware7']: + cpid = os.fork1() + else: + cpid = os.fork() if cpid == 0: # Child |