You learn something new everyday. I always cringe when I type "goto". Now, maybe that twitch will go away. :)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 10:56 AM To: user@ant.apache.org Subject: RE: launching Ant from a perl script >From the Windows XP on-line help: EXIT [/B] [exitCode] /B specifies to exit the current batch script instead of CMD.EXE. If executed from outside a batch script, it will quit CMD.EXE exitCode specifies a numeric number. if /B is specified, sets ERRORLEVEL that number. If quitting CMD.EXE, sets the process exit code with that number. Sten Rosendahl > -----Original Message----- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Sent: Friday, March 11, 2005 4:35 PM > To: Ant Users List > Subject: RE: launching Ant from a perl script > > The "exit" command terminates the command shell and not the bat file. > You exit a bat file by "goto :eof". --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]