Re: exit code
- From: paul@xxxxxxxx (Paul Johnson)
- Date: Fri, 29 Jun 2007 12:17:15 +0200
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
... On 6/29/07, Paul Johnson wrote: ... > when I execute my perl script in my local machine and I get to a ... > but when i execute the same script with the same controlled error ... > 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) - [Full-Disclosure] Advanced usage of system() function.
... and call its arguments as a command for shell. ... as we can see we still didnt get what we want (typing exit ... Connection closed by foreign host. ... think what we want to execute. ... (Full-Disclosure) |
|