summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-11 19:55:07 +0000
committerChris Lumens <clumens@redhat.com>2006-07-11 19:55:07 +0000
commit5bfb2830b3c157b67c7ecfbc878cec2493e20f8a (patch)
tree653a854f4adc0865ed6187681a5af750e3f085fc /anaconda
parent38a7e566cc50305c0517f8413043561dd00522f6 (diff)
downloadanaconda-5bfb2830b3c157b67c7ecfbc878cec2493e20f8a.tar.gz
anaconda-5bfb2830b3c157b67c7ecfbc878cec2493e20f8a.tar.xz
anaconda-5bfb2830b3c157b67c7ecfbc878cec2493e20f8a.zip
Fix stdin/stdout on VNC shell.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 841b1bf82..b44a3df25 100755
--- a/anaconda
+++ b/anaconda
@@ -422,7 +422,7 @@ def runVNC(vncpassword, vncconnecthost, vncconnectport, vncStartedCB=None):
if os.access(p, os.R_OK|os.X_OK):
os.environ['PYTHONSTARTUP'] = p
break
- os.execv("/bin/sh", ["/bin/sh"])
+ iutil.execWithRedirect("/bin/sh", ["-/bin/sh"], stdout="/dev/console", stderr="/dev/console")
else:
addpid(shpid)
os.waitpid(shpid, 0)