diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-19 04:09:10 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-19 04:09:10 +0000 |
commit | 97c44e24ad6ddf3e45ce14038af53d93e89f8999 (patch) | |
tree | f9a7109a2c7d0a2773978864b6932c996938ea3f /iutil.py | |
parent | 4f4a93c00fe2e46c9901895d58ddcff1ad2e5736 (diff) | |
download | anaconda-97c44e24ad6ddf3e45ce14038af53d93e89f8999.tar.gz anaconda-97c44e24ad6ddf3e45ce14038af53d93e89f8999.tar.xz anaconda-97c44e24ad6ddf3e45ce14038af53d93e89f8999.zip |
sys.exit -> os._exit in children (from msw)
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,7 +90,7 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, # let the caller deal with the exit code of 1. pass - sys.exit(1) + os._exit(1) if newPgrp: os.setpgid(childpid, childpid) @@ -135,7 +135,7 @@ def execWithCapture(command, argv, searchPath = 0, root = '/', stdin = 0, else: os.execv(command, argv) - sys.exit(1) + os._exit(1) os.close(write) |