Skip to content

Instantly share code, notes, and snippets.

@Lothiraldan
Created May 20, 2013 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lothiraldan/5612442 to your computer and use it in GitHub Desktop.
Save Lothiraldan/5612442 to your computer and use it in GitHub Desktop.
diff --git a/circus/process.py b/circus/process.py
index 070cb10..f7cb699 100644
--- a/circus/process.py
+++ b/circus/process.py
@@ -124,7 +124,7 @@ class Process(object):
if self.uid:
os.setuid(self.uid)
- self._worker = Popen(args, cwd=self.working_dir,
+ self._worker = Popen(args, bufsize=-1, cwd=self.working_dir,
shell=self.shell, preexec_fn=preexec_fn,
env=self.env, close_fds=not self.use_fds,
stdout=PIPE, stderr=PIPE,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment