flatironinstitute / disBatch

Tool to distribute a list of computational tasks over a pool of compute resources. The pool can grow or shrink.
Apache License 2.0
39 stars 8 forks source link

Fix output capture for Python 3.6 #26

Closed lgarrison closed 1 year ago

lgarrison commented 1 year ago

As far as I can tell, stdout=SUB.PIPE, stderr=SUB.PIPE is exactly equivalent to capture_output=True, so this a pretty straightforward change. I tested on Python 3.6 and 3.9.

Also fixes a typo in one of the log levels.