>
> So import STDOUT and make stderr=STDOUT in the Popen call, you will then
> have one file/pipe to deal with p1.stdout.
Thank you - that works great!
Mahesh
--
http://mail.python.org/mailman/listinfo/python-list
wrote in news:7ae96aff-c1a7-4763-8db7-
[EMAIL PROTECTED] in comp.lang.python:
> Hi folks,
>
> I am trying to tee off both stdout and stderr from a process run
> through Popen.
> As a test, I am first trying to print the output below:
>
> from subprocess import Popen,PIPE
> ...
> p1 = Popen(['cv