On Feb 16, 3:28 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> > That's ok inside the same process, but the OP needs to use it "from a > subprocess or spawn". > You have to use something like tee, working with real file handles. > I'm not particularly familiar with this, but it seems to me that if you're trying to catch stdout/stderr from a program you can call with (say) popen2, you could just read from the returned stdout/stderr pipe, and then write to a series of file handles (including sys.stdout). Or am I missing something? =) ~G -- http://mail.python.org/mailman/listinfo/python-list