##// END OF EJS Templates
Fixes gh-1632; minimal revert of gh-1424...
Jonathan March -
Show More
@@ -125,9 +125,13 b' def system(cmd):'
125 """
125 """
126 # The controller provides interactivity with both
126 # The controller provides interactivity with both
127 # stdin and stdout
127 # stdin and stdout
128 import _process_win32_controller
128 #import _process_win32_controller
129 _process_win32_controller.system(cmd)
129 #_process_win32_controller.system(cmd)
130
130
131 with AvoidUNCPath() as path:
132 if path is not None:
133 cmd = '"pushd %s &&"%s' % (path, cmd)
134 return process_handler(cmd, _system_body)
131
135
132 def getoutput(cmd):
136 def getoutput(cmd):
133 """Return standard output of executing cmd in a shell.
137 """Return standard output of executing cmd in a shell.
General Comments 0
You need to be logged in to leave comments. Login now