Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 lurking in the Monastery: (9)
As of 2014-07-22 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (130 votes), past polls