Skip to content
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

Try first SIGINT before SIGKILL #117

Open
Archiatrus opened this issue Jan 8, 2019 · 0 comments
Open

Try first SIGINT before SIGKILL #117

Archiatrus opened this issue Jan 8, 2019 · 0 comments

Comments

@Archiatrus
Copy link
Contributor

There are a few cases where bots get stuck waiting for a response. It might be a good idea to first use SIGINT so that a bot has the chance to shut down gracefully. Only if it still is not resonding one can use SIGKILL.

The problems seems to be that on windows it is a bit tricky. Maybe this is how it can be done: https://docs.microsoft.com/en-us/windows/console/generateconsolectrlevent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant