summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-08-15 17:31:02 +0000
committerChris Lumens <clumens@redhat.com>2006-08-15 17:31:02 +0000
commit4f0ed658bd2a356ed858b905a4707c17817b2b9b (patch)
treebf768bd4d5f2fed98362c05a3e4e6622a69484d3 /text.py
parentbab22040324425b4735bc3f6cccf6ec20b59ab86 (diff)
downloadanaconda-4f0ed658bd2a356ed858b905a4707c17817b2b9b.tar.gz
anaconda-4f0ed658bd2a356ed858b905a4707c17817b2b9b.tar.xz
anaconda-4f0ed658bd2a356ed858b905a4707c17817b2b9b.zip
Fix shell input/output (#201479).
Diffstat (limited to 'text.py')
-rw-r--r--text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.py b/text.py
index c00de3bee..a57e08176 100644
--- a/text.py
+++ b/text.py
@@ -560,7 +560,7 @@ def spawnShell(screen):
screen.suspend()
print "\n\nType <exit> to return to the install program.\n"
if os.path.exists("/bin/sh"):
- iutil.execWithRedirect("/bin/sh", [])
+ iutil.execWithRedirect("/bin/sh", [], stdout="/dev/console", stderr="/dev/console")
else:
print "Unable to find /bin/sh to execute! Not starting shell"
time.sleep(5)