Author: Matti Picus <[email protected]>
Branch: py3k
Changeset: r70621:590ba2c6714c
Date: 2014-04-14 00:24 +0300
http://bitbucket.org/pypy/pypy/changeset/590ba2c6714c/
Log: help Popen find executable on win32
diff --git a/rpython/tool/runsubprocess.py b/rpython/tool/runsubprocess.py
--- a/rpython/tool/runsubprocess.py
+++ b/rpython/tool/runsubprocess.py
@@ -16,6 +16,8 @@
shell_default = True
def _run(executable, args, env, cwd): # unless overridden below
+ if sys.platform == 'win32':
+ executable = executable.replace('/','\\')
if isinstance(args, str):
args = str(executable) + ' ' + args
shell = True
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit