##// END OF EJS Templates
run-tests.py: backout "don't use console for stdin when running in debug mode"...
Mads Kiilerich -
r18448:e760414b default
parent child Browse files
Show More
@@ -751,8 +751,7 b' def run(cmd, wd, options, replacements):'
751 Return a tuple (exitcode, output). output is None in debug mode."""
751 Return a tuple (exitcode, output). output is None in debug mode."""
752 # TODO: Use subprocess.Popen if we're running on Python 2.4
752 # TODO: Use subprocess.Popen if we're running on Python 2.4
753 if options.debug:
753 if options.debug:
754 proc = subprocess.Popen(cmd, shell=True, cwd=wd, stdin=subprocess.PIPE)
754 proc = subprocess.Popen(cmd, shell=True, cwd=wd)
755 proc.stdin.close()
756 ret = proc.wait()
755 ret = proc.wait()
757 return (ret, None)
756 return (ret, None)
758
757
General Comments 0
You need to be logged in to leave comments. Login now