Nico,
I have committed a solution. It seems to work for me on NT. Can you confirm
on 2000? What about 95/98?
Conor
----- Original Message -----
From: "Nico Seessle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 21, 2001 7:51 AM
Subject: Re: Exit Code
RE: Exit Code
----- Original Message -----
From: Shankar Unni
To: '[EMAIL PROTECTED]'
Sent: Friday, July 20, 2001 9:50 PM
Subject: RE: Exit Code
Here's one-line fix for NT/2000: add the following line at the end of the
ant.bat file - it will exit the script with the exact error status of the
last executed external command:
exit %ERRORLEVEL%
(That works only on NT/2000, by the way - I'm pretty sure this doesn't
work in COMMAND.COM).
This one seems to close my cmd.exe after running ant.bat - is this really
better than no return code at all?
Nico