Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

qx not always capturing stdout

by StuLong (Acolyte)
on Mar 23, 2016 at 20:21 UTC ( [id://1158649]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $get_version_prog = 'na_get_version.pl';
    my $major_minor = qx($Bin/$get_version_prog $filer)
    
  2. or download this
    syslog('notice', "Version info for $filer $major_minor");
    print STDOUT $major_minor;
    exit 0;
    
  3. or download this
    syslog('debug', "OnTap major/minor for $filer is $major_minor");
    
  4. or download this
    Mar 23 15:38:51 sppubu01 snapaidd[639]: [ID 702911 local7.notice] Gett
    +ing version info for SP1STONC02
    Mar 23 15:38:53 sppubu01 snapaidd[639]: [ID 702911 local7.notice] Vers
    +ion info for SP1STONC02 1.31
    Mar 23 15:38:53 sppubu01 snapaidd[636]: [ID 702911 local7.debug] OnTap
    + major/minor for SP1STONC02 is
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1158649]
Approved by Paladin
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found