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