Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re^4: Use of IPC::Run rather than system()

by gmarler (Acolyte)
on Jul 17, 2003 at 02:04 UTC ( #275086=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($ofh) = select(STDOUT); $| = 1; select($ofh);
    $ofh = select(STDERR); $| = 1; select($ofh);
    ...
        '>', sub { $out .= $_[0]; print $_[0] },
        '2>', sub { $err .= $_[0]; print $_[0] },
        );
    
  2. or download this
    use IPC::Run qw(run);
    
    ...
        '2>', '>pty>'
        );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://275086]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-04-20 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (486 votes), past polls