-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Program doesn't exit. #5
Comments
awesome thanks for catching this. Do you want to just do a pull request? On Wed, Feb 13, 2013 at 8:25 PM, mfgea [email protected] wrote:
Jared |
Hi, Jared. Just put in your next commit. Thanks for your work. It's been really useful Bye! 2013/2/14 Jared Forsyth [email protected]
Matias Fernando Gea |
Added PR for this here #6 |
I found that writing "smash" and pressing "Esc" didn't exit the program. It is caused by the try...catch block in the main loop that catches and passes the SystemExit exception raised by the sys.exit() call. A simple solution i found was to import "os" and use os._exit(0) instead of sys.exit(0).
Cheers!
The text was updated successfully, but these errors were encountered: