Can I have subprocess.call write the output of the call to a string?
Asked 2011-05-05T18:30:19.727
26
I want to do subprocess.call, and get the output of the call into a string. Can I do this directly, or do I need to pipe it to a file, and then read from it?
In other words, can I somehow redirect stdout and stderr into a string?