diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-09 05:22:46 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-09 05:22:46 +0000 |
commit | 3ab2cb6b80d6f55ff29bf07546c0fc0f2c03c4b7 (patch) | |
tree | d78ea89067d83b76d825c170ef45dca9aecb8873 /iutil.py | |
parent | 91d3d396328820e5a9283f130d360cb3a65ac3ef (diff) | |
download | anaconda-3ab2cb6b80d6f55ff29bf07546c0fc0f2c03c4b7.tar.gz anaconda-3ab2cb6b80d6f55ff29bf07546c0fc0f2c03c4b7.tar.xz anaconda-3ab2cb6b80d6f55ff29bf07546c0fc0f2c03c4b7.zip |
o splash screen
o lilo 'other' entries should work
o exceptions for 'file does not exist' in iutil *exec*
o search paths for help files
o padding changes in gui
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -29,6 +29,9 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, stdout = getfd(stdout) stderr = getfd(stderr) + if not os.access (command, os.X_OK): + raise RuntimeError, command + " can not be run" + childpid = os.fork() if (not childpid): if (root != '/'): isys.chroot (root) @@ -55,6 +58,9 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, def execWithCapture(command, argv, searchPath = 0, root = '/', stdin = 0): + if not os.access (command, os.X_OK): + raise RuntimeError, command + " can not be run" + (read, write) = os.pipe() childpid = os.fork() |