[Rake-devel] exit 1 on SystemExit

Daniel Berger Daniel.Berger at qwest.com
Tue May 22 10:31:53 EDT 2007

Stephen Touset wrote:
> It would be a lot more useful, I think, if rake detected a SystemExit
> and then exited with the status in the exception, rather than just doing
> an exit(1).
> Specifically, I'm doing an early exit in one of my rake tasks where I
> need to return a 0 exit code. Rake intercepts this SystemExit and always
> returns a 1, regardless of the status.
> The patch for this is trivial, and included.


Seems reasonable to me.



More information about the Rake-devel mailing list