-
Notifications
You must be signed in to change notification settings - Fork 94
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
gscan: handle ctrl-c #2257
gscan: handle ctrl-c #2257
Conversation
Not ready for review yet. |
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.
This seems to be working, both cylc scan
and cylc gscan
seem to be exiting cleanly killing all processes.
I am seeing some traceback when killing cylc scan
and some cylc scan
output when killing cylc gscan
which ideally we would suppress.
2af93bf
to
c5d3b1f
Compare
You should no longer see traceback. |
Looks good. I can still get traceback (or worse) from terminating either |
I am happy with some traceback, but not happy with worse (e.g. zombie processes, hang up, etc.) |
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.
It is still possible to get traceback etc by:
- Interrupting the process immediately after executing it (affected logic is in
bin/cylc
so is outside the scope of this pull). - Interrupting the process then interrupting it again (the new 'stopping' message should help to prevent this).
I think this is acceptable.
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.
Works well.
Fix gpanel broken by #2257
Fix #2195.