diff options
author | Chris Lumens <clumens@redhat.com> | 2006-10-19 20:30:51 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-10-19 20:30:51 +0000 |
commit | 374ecffb70ee0de64521d0ad24e15ad2a825232d (patch) | |
tree | 4629395af1f6187659e24dba495aaad4794a775b /iutil.py | |
parent | 5789f289c12bba855fa55a081485a03c41668a35 (diff) | |
download | anaconda-374ecffb70ee0de64521d0ad24e15ad2a825232d.tar.gz anaconda-374ecffb70ee0de64521d0ad24e15ad2a825232d.tar.xz anaconda-374ecffb70ee0de64521d0ad24e15ad2a825232d.zip |
Here's a better fix.
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -74,6 +74,12 @@ def execWithCapture(command, argv, stdin = 0, stderr = 2, root='/'): pipe.wait() return rc +def execConsole(): + if rhpl.getArch() == "s390": + iutil.execWithRedirect("/bin/sh", []) + else: + iutil.execWithRedirect("/bin/sh", [], stdout="/dev/console", stderr="/dev/console") + # return size of directory (and subdirs) in kilobytes def getDirSize(dir): def getSubdirSize(dir): |