Commit 18f8355a authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Don't buffer anything in Popen()

parent 4c9ef296
......@@ -135,7 +135,7 @@ class RunningProcess:
"""
stderr_write = open(self.stderr_filename, "w")
stdout_write = open(self.stdout_filename, "w")
self.process = subprocess.Popen(args, 1, None, subprocess.PIPE,
self.process = subprocess.Popen(args, 0, None, subprocess.PIPE,
stdout_write, stderr_write)
# open them again, this time for reading
self.stderr = open(self.stderr_filename, "r")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment