summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-19 04:09:10 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-19 04:09:10 +0000
commit97c44e24ad6ddf3e45ce14038af53d93e89f8999 (patch)
treef9a7109a2c7d0a2773978864b6932c996938ea3f /iutil.py
parent4f4a93c00fe2e46c9901895d58ddcff1ad2e5736 (diff)
downloadanaconda-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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iutil.py b/iutil.py
index 776e4b842..b3661429b 100644
--- a/iutil.py
+++ b/iutil.py
@@ -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)