Commits

Armin Rigo committed d05df47

Fix on Linux. Maybe we converge and this works on Windows too? :-)

  • Participants
  • Parent commits 200de6d

Comments (0)

Files changed (1)

dotviewer/graphclient.py

         python = 'python'
     else:
         python = sys.executable
-    cmdline = '"%s" -u "%s" --stdio' % (python, GRAPHSERVER)
-    p = subprocess.Popen(cmdline,
+    args = [python, '-u', GRAPHSERVER, '--stdio']
+    p = subprocess.Popen(args,
                          stdout=subprocess.PIPE, stdin=subprocess.PIPE)
     child_in, child_out = p.stdin, p.stdout
     io = msgstruct.FileIO(child_out, child_in)