Hi All, I'm executing a command which I want to capture the standard/stderr output into a file (which I have with the code below), but I also want the standard output to go into a variable so I can process the information for the next command. Any ideas? Thanks.
CMD_OUTPUT = subprocess.Popen(COMMAND, stdout=PROJECT_LOGFILE, stderr=subprocess.STDOUT) -- http://mail.python.org/mailman/listinfo/python-list