WIP: Redirect C stdout & stderr to log
Fixes https://github.com/pygridtools/drmaa-python/issues/69
Captures C's stdout and stderr and logs it instead. Useful if the DRMAA implementation prints log messages out that one would like to capture.
Coverage decreased (-0.4%) to 90.575% when pulling 6a9ebb957c4cdf5c100a8ac975a1a8ba99ae334c on jakirkham:redirect_c_stdout_stderr into 61b5eb6e87d2895bf66d7dd68aae9ba2198c1c0b on pygridtools:master.
It looks like this is failing on python 2.6 because there's no logging.NullHandler defined. Do you think that his solution would work?
https://stackoverflow.com/a/34939479/780188
Wouldn't worry about Python 2.6 as it was dropped upstream.
The main issue was it wasn't capturing the C stdout/stderr when testing it locally. So there's probably more to do here, but haven't looked into what is needed recently. If you have time/interest to explore this issue, that would be very helpful.