[Israel.pm] catching STOUT and STDERR
Itamar Elem
elem at compugen.co.il
Sun Oct 17 01:01:54 PDT 2004
hi
im not shure its fits your requierments
but try the module Expect
which base on expect utility
built over tcl
itamar
-----Original Message-----
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.
Gabor
ps. has anyone tried it already ?
_______________________________________________
Perl mailing list
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl
More information about the Perl
mailing list