Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAborting `rake` execution needlessly dumps a backtrace #272
Comments
|
Exit code, should be more specific than sleep infinity
# Ctl-C
echo $?
# 130 |
|
repo must mention code organization somewhere. thanks. have a nice day. keep up the good work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.