Mercurial > hg > config
comparison python/multiproc.py @ 602:330e3435a7d7
STUB: python/multiproc.py
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Thu, 30 Jan 2014 14:20:25 -0800 |
| parents | 7f189613a289 |
| children | bd30deecdf4a |
comparison
equal
deleted
inserted
replaced
| 601:7f189613a289 | 602:330e3435a7d7 |
|---|---|
| 15 """why would you name a subprocess object Popen?""" | 15 """why would you name a subprocess object Popen?""" |
| 16 | 16 |
| 17 def __init__(self, *args, **kwargs): | 17 def __init__(self, *args, **kwargs): |
| 18 self.output = tempfile.SpooledTemporaryFile() | 18 self.output = tempfile.SpooledTemporaryFile() |
| 19 subprocess.Popen.__init__(self, *args, **kwargs) | 19 subprocess.Popen.__init__(self, *args, **kwargs) |
| 20 # TODO: finish | |
| 20 | 21 |
| 21 def main(args=sys.argv[1:]): | 22 def main(args=sys.argv[1:]): |
| 22 """CLI""" | 23 """CLI""" |
| 23 | 24 |
| 24 # available programs | 25 # available programs |
