in reply to Re: Possible to have a process monitoring another's stdout asynchronously?
in thread Possible to have a process monitoring another's stdout asynchronously?

I'm not sure what I want to do could be done with any of those...

As an example, suppose I had STDOUT, wanted to keep it that way (as an output channel) but also wanted to print everything that went to STDOUT to two other files... with one single print.

I can't see how to do this with IO::Select...

  • Comment on Re^2: Possible to have a process monitoring another's stdout asynchronously?

Replies are listed 'Best First'.
Re^3: Possible to have a process monitoring another's stdout asynchronously?
by thor (Priest) on Jan 13, 2005 at 13:22 UTC
    Perhaps IO::Tee is what you're looking for...

    thor

    Feel the white light, the light within
    Be your own disciple, fan the sparks of will
    For all of us waiting, your kingdom will come