direct-io.hg

changeset 7688:c4fc28fb580a

Fix vncviewer spawning so it actually works.
How did this ever work for other people?
author mafetter@seana.research.intel-research.net
date Tue Nov 08 11:31:16 2005 +0100 (2005-11-08)
parents 913ad6d48cbc
children dd0e2e9fa4e6
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Tue Nov 08 11:29:07 2005 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Tue Nov 08 11:31:16 2005 +0100
     1.3 @@ -756,7 +756,7 @@ def choose_vnc_display():
     1.4  vncpid = None
     1.5  
     1.6  def spawn_vnc(display):
     1.7 -    vncargs = (["vncviewer" + "-log", "*:stdout:0",
     1.8 +    vncargs = (["vncviewer", "-log", "*:stdout:0",
     1.9              "-listen", "%d" % (VNC_BASE_PORT + display) ])
    1.10      global vncpid    
    1.11      vncpid = os.spawnvp(os.P_NOWAIT, "vncviewer", vncargs)