-
Notifications
You must be signed in to change notification settings - Fork 25
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
Improves Scheduler ctrl+c
handling
#105
Conversation
What if you are running e.g. lightdock? do you still get a message that cns execution has been stopped?
|
Sorry, the message does not say |
Hi @amjjbonvin the last commit should address your question. I rose the catcher to Note the in RIGIDBODY
in LightDock
Tests as not yet extensive for this PR as they are not critical. I will work on non-critical tests at later dedicated PRs. |
Does this mean that every method needs to have a way to catch |
No, the |
Conflicts solved, you can review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good!
Closes #96
Now has a controlled exit message for when the user presses
ctrl+c
whilecns
is running. CNS error messages due toctrl+c
will be ignored and not printed. CNS error messages should be raised asCNSRunningError
, as before.example: