diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-06-28 05:51:40 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-06-28 05:51:40 +0000 |
commit | e330d811d0650723e3e3314831a42edb750a6620 (patch) | |
tree | 9e5ecc03e323d0caccac146d10a3b777bf264e7c /iutil.py | |
parent | 2c5467f04601b3107777fe90d85af089cce1c6ac (diff) | |
download | anaconda-e330d811d0650723e3e3314831a42edb750a6620.tar.gz anaconda-e330d811d0650723e3e3314831a42edb750a6620.tar.xz anaconda-e330d811d0650723e3e3314831a42edb750a6620.zip |
we really need this, otherwise you can't debug/save tracebacks to a floppy if you crash in the child
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -60,12 +60,8 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, stdout = getfd(stdout) stderr = getfd(stderr) -# -# XXX What is this good for? If we can't run a command we'll error -# out below won't we? -# -# if not os.access (root + command, os.X_OK): -# raise RuntimeError, command + " can not be run" + if not os.access (root + command, os.X_OK): + raise RuntimeError, command + " can not be run" childpid = os.fork() if (not childpid): |