Mercurial > hg > config
diff python/multiproc.py @ 603:bd30deecdf4a
STUB: python/multiproc.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 30 Jan 2014 16:22:26 -0800 |
parents | 330e3435a7d7 |
children | 5b561c7b2005 |
line wrap: on
line diff
--- a/python/multiproc.py Thu Jan 30 14:20:25 2014 -0800 +++ b/python/multiproc.py Thu Jan 30 16:22:26 2014 -0800 @@ -14,6 +14,9 @@ class Process(subprocess.Popen): """why would you name a subprocess object Popen?""" + defaults = {'buffsize': 'line buffered' + } + def __init__(self, *args, **kwargs): self.output = tempfile.SpooledTemporaryFile() subprocess.Popen.__init__(self, *args, **kwargs)