Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 chanting in the Monastery: (15)
As of 2014-12-18 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (50 votes), past polls