# HG changeset patch # User Jeff Hammel # Date 1391119763 28800 # Node ID 7f189613a289ae0e2b72da0f3b906743ca7afc0e # Parent a77f7022cc0622ce5637b97533e77869633dc442 STUB: python/multiproc.py diff -r a77f7022cc06 -r 7f189613a289 python/multiproc.py --- a/python/multiproc.py Thu Jan 30 13:59:09 2014 -0800 +++ b/python/multiproc.py Thu Jan 30 14:09:23 2014 -0800 @@ -11,7 +11,12 @@ import time import tempfile -class +class Process(subprocess.Popen): + """why would you name a subprocess object Popen?""" + + def __init__(self, *args, **kwargs): + self.output = tempfile.SpooledTemporaryFile() + subprocess.Popen.__init__(self, *args, **kwargs) def main(args=sys.argv[1:]): """CLI"""