Commits

Alfredo Deza  committed cfa205c

split args so sudo will be used correctly

  • Participants
  • Parent commits 03e7cd3

Comments (0)

Files changed (1)

File execnet/gateway_io.py

 
 def popen_args(spec):
     python = spec.python or sys.executable
-    args = [str(python), '-u']
+    args = str(python).split(' ')
+    args.append('-u')
     if spec is not None and spec.dont_write_bytecode:
         args.append("-B")
     # Slight gymnastics in ordering these arguments because CPython (as of