[Israel.pm] catching STOUT and STDERR
elem at compugen.co.il
Sun Oct 17 01:01:54 PDT 2004
im not shure its fits your requierments
but try the module Expect
which base on expect utility
built over tcl
From: Gabor Szabo [mailto:gabor at perl.org.il]
Sent: Sunday, October 17, 2004 12:46 AM
To: perl at perl.org.il
Subject: [Israel.pm] catching STOUT and STDERR
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.
ps. has anyone tried it already ?
Perl mailing list
Perl at perl.org.il
More information about the Perl