On 2/3/07, Peter Szinek <peter / rubyrailways.com> wrote:
> > This seems related:
> > http://rubyforge.org/tracker/index.php?func=detail&aid=8325&group_id=167&atid=715
> Vdaka ti, dobra vila! :-)
>
> Yup, this was exactly it! Does anybody have any idea why does rake.bat
> have 'exit %ERRORLEVEL%' at the end? Of course that line closes the
> console...
>
> Thanks to everyone!
> Peter
>
> __
> http://www.rubyrailways.com
>
>

I believe the idea is to pass the %ERRORLEVEL% on to an invoking
process.  Change the 'exit %ERRORLEVEL%' to 'exit /b %ERRORLEVEL%' and
give it a whirl.
--
Joe Swatosh