Hi,
I'm attempting to capture and act on the stdout and stderr of the module
command. The python implementation appears to be a subprocess for which I
wasn't able to redirect with io.StringIO() as I have with other output
capture.
I attempted to look through the code, which I admit I don't fully
understand and appears to have a one-liner style of executing the
subprocess. I'm writing code that integrates with a production system, so
I'm not able to modify the python.py code.
Does anyone know how else this might be accomplished? Or should I make
this a feature request?
Thanks for your help,
Jonathan
|