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

calling another perl program and printing output in real time

Thread Next
From:
Roy Peters
Date:
April 1, 2002 14:50
Subject:
calling another perl program and printing output in real time
Message ID:
Pine.GSO.4.10.10204011648510.5326-100000@sunq20
Hello,

I have 2 independent perl programs p1 and p2. p1 calls p2 (using either the 
system() or `` operators, and p2 will print 
out status information every 2 seconds or so. How do I set it up such 
that whenever p2 prints out data, it is printed out by p1 also IN REAL TIME? 

Thanks.

============================================================
The information contained in this message may be privileged 
and confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any 
reproduction, dissemination or distribution of this 
communication is strictly prohibited. If you have received 
this communication in error, please notify us immediately by 
replying to the message and deleting it from your computer.

Thank you.
Tellabs
============================================================

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