When aborting rake with Ctrl+C, it outputs rake aborted! then dumps a long backtrace. This seems unnecessary, as aborting isn't really an unexpected outcome of pressing Ctrl+C (or sending an INT signal).
I'd like to propose catching the Interrupt exception and exiting cleanly (with an exit code of 1). We can still print the backtrace if the --trace option is used.
I can submit a pull request, if this seems reasonable.
When aborting
rakewith Ctrl+C, it outputsrake aborted!then dumps a long backtrace. This seems unnecessary, as aborting isn't really an unexpected outcome of pressing Ctrl+C (or sending an INT signal).I'd like to propose catching the
Interruptexception and exiting cleanly (with an exit code of 1). We can still print the backtrace if the--traceoption is used.I can submit a pull request, if this seems reasonable.