Re: exit status



Jerry Adair schreef:

Paul-

Not sure why I am getting the flack from you, but whatever.

Come on, Jerry. You don't follow the Posting Guidelines, you top-post,
you leave old text that you don't reply on, you hide your questions in
boring layers, and still there are people left here that are willing to
help you, so it must be Friday.

Please first read the Posting Guidelines now, they are there to help you
help yourself.

use strict;
use warnings;

inside script "1":
my $exitStatus = system( "<call to script #2>" );
print( STDOUT "exit=$exitStatus\n" );

This is not actual code that we can run. You should copy/paste exactly
the code that you run yourself.

You don't check for -1, you don't print $!.

--
Affijn, Ruud

"Gewoon is een tijger."

.



Relevant Pages

  • Re: how to read file when this file is locking....
    ... my english is very poor. ... i can not understand what is top-post. ... Have you seen the Posting Guidelines that are posted here frequently? ... You should not use an ampersand on function calls unless you know ...
    (comp.lang.perl.misc)
  • Re: Problem with ([w ]+?)
    ... [Please do not top-post. ... Please do not quote sigs. ... Please do read the posting guidelines for this group. ... perldoc -q learn ...
    (comp.lang.perl.misc)
  • Re: Low level data manipulation in Perl
    ... "Leonard Challis" wrote in ... [Please do not top-post. ... please read the posting guidelines for this group. ... Sinan. ...
    (comp.lang.perl.misc)
  • Re: help with code
    ... [Please do not top-post. ... Please do read the posting guidelines for this group. ... > hash key then sorting with like this: ...
    (comp.lang.perl.misc)
  • Re: query = new CGI;
    ... [Please do not top-post. ... Please read the posting guidelines for this group before it is too ... Sinan Unur ... (reverse each component and remove .invalid for email address) ...
    (comp.lang.perl.misc)