System Command Results

From: Gary (reachus_at_netlink.info)
Date: 04/30/04


Date: Fri, 30 Apr 2004 12:25:57 -0400

I can see how to check success or failure of a system command but how can I
see what was actually returned by the command to be able to do further
processing.

I know I could write the answer to a file and read the file but it seems
pretty crude.

G



Relevant Pages

  • Re: wrong execution of "or"
    ... > code of scp is 0. ... > the system command and also ti dies? ... other perl functions return true on *success* and false on *failure*. ...
    (perl.beginners)
  • Re: System Command Results
    ... > I can see how to check success or failure of a system command but how ...
    (comp.lang.perl.misc)
  • shell command with envvars - howto?
    ... I want to make a system calling method that returns output, success rate, and exit status of a system command, like the sys method in the example program below. ...
    (comp.lang.ruby)