Home  |  Linux  | Mysql  | PHP  | XML
From:Irfan Sayed Date:Tue Jun 30 08:55:07 2009
Subject:exit status
Hi All,

I have one windows batch script in which i am calling one perl script. now what i want to do is if the exit status of that perl script is non zero then batch script should not continue executing further and if the exit status is zero then only it shud further execute.

normally we use the value of $? to know the exit status of any system call but in this case how shud i inform to windows batch script that the perl script execution / exit status is non zero and stop execution further

Please advice

Regards
Irf.



      
Navigate in group perl.beginners at sever nntp.perl.org
Previous Next


Your recent visits
Installing php 5.2.9 with --enable-embed
Re: [PHP-DB] PHP- Mysql problem
RE: [PHP] removing an array from a compound array
Browser tries to download php file
Dom PDF Problem


  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants