Have you looked at IO::Tee? It's job is to dupe STDOUT and STDERR to one or
more filehandles.

Nathan Herring wrote:

>
>
> What I'm thinking is that I'm going to have to open pipes and fork a
> child to sit there and watch the pipes and spew information to STDOUT or
> STDERR and also back to the parent along with time information. Andrew
> Langmead suggested using IO::Pty to avoid the stdio buffering problems,
> which I think I might need to do, but I'm unsure whether I'd need one
> pseudo-tty or two.
>
> Thanks,
> nh
>

Reply via email to