diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-12 13:59:19 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-12 13:59:19 +0000 |
commit | d0dec240385acda60a0591fbddd1cbcbdf9c20bc (patch) | |
tree | d5dfc075f489681cf1577170d06ad47d9b803329 /vnc.py | |
parent | 143669aca0a87f5574924ea5aa6a52450a5311c6 (diff) | |
download | anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.gz anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.xz anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.zip |
Use subprocess instead of our own code. Fix all calls to execWith* so
the command is no longer the first argument, since subprocess doesn't work
that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -282,10 +282,10 @@ def startVNCServer(vncpassword="", root='/', vncconnecthost="", if vncconnectport != "": hostarg = hostarg + ":" + vncconnectport - argv = ["/usr/bin/vncconfig", "-display", ":1", "-connect", hostarg] + argv = ["-display", ":1", "-connect", hostarg] ntries = 0 while 1: - output = iutil.execWithCapture(argv[0], argv, catchfd=2) + output = iutil.execWithCapture("/usr/bin/vncconfig", argv) if output == "": stdoutLog.info(_("Connected!")) |