[Israel.pm] catching STOUT and STDERR

Gabor Szabo gabor at perl.org.il
Sat Oct 16 15:46:23 PDT 2004


I am running an external process via system() and would like to
catch its output in something (variable, file whatever) in the same
order as I would see on screen. At the same time I'd like to keep
it appear on the screen as it might ask questions or need the attention
of the user otherwise.

I would use tee but I need it on less capable systems as well.

any takers ?



Yes it is for Nargile.

Gabor
ps. has anyone tried it already ?




More information about the Perl mailing list