In my python application I am trying to capture the output of stdin from a command that I run via popen2(). The python docs say that it returns a tuple of (stdin, stdout) however and i run:
result = popen2(command).read()
It only prints the results to the console and never returns a result to the variable. Whats going on?