develooper Front page | perl.beginners | Postings from February 2002

Not your average system() question...

Thread Next
From:
kevin.schmidt
Date:
February 6, 2002 06:53
Subject:
Not your average system() question...
Message ID:
OF3FBA6147.195C2754-ON85256B58.00516477@cbis.com
I understand how the system command works.  I understand the
difference between system() and backticks.  My question is this:
I want to make a call to an external program and I want the output
printed to the command line as it is processing, BUT, I also want
the output returned to me so that I can parse and check it for certain
conditions.  Basically I need the functionality of both system() and
backticks.  How do I accomplish this?  I looked into redirecting
STDOUT, but didnt see how it was possible.

     HELP PLEASE!
     Kevin Schmidt
     Cincinnati, OH


--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About