Re: exit code



Sorry.. but I don't understand what do you mean ...



On 6/29/07, Paul Johnson <paul@xxxxxxxx> wrote:

On Fri, Jun 29, 2007 at 11:08:19AM +0200, Tatiana Lloret Iglesias wrote:

> Hi all,
>
> when I execute my perl script in my local machine and I get to a
controlled
> error situation i've got as exit value 777
>
> if(!$test){
> $failed_times =$failed_times +1;
>
> if($failed_times ==3)
> {
> exit(777);
> }
> sleep 15;
> }# if $test
>
> but when i execute the same script with the same controlled error
situation
> I've got as exit value 9 which seems a generic error code
>
> Any idea ?

Exit statuses are stored in eight bits.

> Thanks!

You're welcome.

--
Paul Johnson - paul@xxxxxxxx
http://www.pjcj.net



Relevant Pages

  • Re: exit code
    ... when I execute my perl script in my local machine and I get to a controlled ... but when i execute the same script with the same controlled error situation ... I've got as exit value 9 which seems a generic error code ...
    (perl.beginners)
  • Re: DBI: exit status, sql operation
    ... Perform whatever processing is necessary to execute the prepared ... exit from the perl script accordingly. ... Could I be missing errors with this code, i e could this perl script ... Regards Christian Eriksson ...
    (comp.lang.perl.modules)
  • exit code
    ... when I execute my perl script in my local machine and I get to a controlled ... but when i execute the same script with the same controlled error situation ... I've got as exit value 9 which seems a generic error code ...
    (perl.beginners)
  • Downloading a .exe file with Apache and Perl
    ... The file can be download complete (well almost: ... execute the downloaded file appears a DOS window, ... Perl Script or if I need configurate something with Apache ...
    (comp.lang.perl.misc)
  • Re: Executing a PERL script from ASP.NET appl.
    ... I believe the VB "Shell" command is just a wrapper around Process.Start. ... any case if the target EXE has a problem with the command line format (the ... >> If you can execute the command interpreter then you should be able to run>> the Perl one as well, though maybe the issue is quotes around the ... >> I'd recommend the latter if your Perl script can run under IIS. ...
    (microsoft.public.dotnet.general)