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
Re: Substitution question
Re: variable scope
mailto:beginners-uc.1265554412.pbjbnmdgcoehhijoegcf-anilputhiyath
Re: More compact way to write this
Re: sorting anonymous arrays inside arrays



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants