Show More
@@ -749,7 +749,8 b' def run(cmd, wd, options, replacements):' | |||
|
749 | 749 | Return a tuple (exitcode, output). output is None in debug mode.""" |
|
750 | 750 | # TODO: Use subprocess.Popen if we're running on Python 2.4 |
|
751 | 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 | 754 | ret = proc.wait() |
|
754 | 755 | return (ret, None) |
|
755 | 756 |
General Comments 0
You need to be logged in to leave comments.
Login now