##// END OF EJS Templates
Merge pull request #1440 from jstenar/win32-testing...
Min RK -
r6188:6ab07ebb merge
parent child Browse files
Show More
@@ -95,14 +95,8 b' def pycmd2argv(cmd):'
95 if ext in ['.exe', '.com', '.bat']:
95 if ext in ['.exe', '.com', '.bat']:
96 return [cmd]
96 return [cmd]
97 else:
97 else:
98 if sys.platform == 'win32':
98 return [sys.executable, cmd]
99 # The -u option here turns on unbuffered output, which is required
99
100 # on Win32 to prevent wierd conflict and problems with Twisted.
101 # Also, use sys.executable to make sure we are picking up the
102 # right python exe.
103 return [sys.executable, '-u', cmd]
104 else:
105 return [sys.executable, cmd]
106
100
107 def abbrev_cwd():
101 def abbrev_cwd():
108 """ Return abbreviated version of cwd, e.g. d:mydir """
102 """ Return abbreviated version of cwd, e.g. d:mydir """
General Comments 0
You need to be logged in to leave comments. Login now