Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Unable to grab STDERR from a backtick command

by tbartold (Initiate)
on Oct 29, 2010 at 18:08 UTC ( [id://868374]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    CMD        : >>echddo 'arghh'<<
    RETURN_CODE: >>32512<<
    CMD_RESULT : >>sh: echddo: command not found
    <<
    
  2. or download this
    CMD        : >>hostnam<<
    RETURN_CODE: >>-1<<
    CMD_RESULT : >><<
    
  3. or download this
    `$cmd 1>./tmp 2>&1`;
    my $cmd_rc = $?;
    my $cmd_result = `cat ./t`;
    
  4. or download this
    CMD        : >>hostnam<<
    RETURN_CODE: >>32512<<
    CMD_RESULT : >>sh: hostnam: command not found
    <<
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-18 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found