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

Improve windows support #122

Merged
merged 2 commits into from
Jul 12, 2018
Merged

Improve windows support #122

merged 2 commits into from
Jul 12, 2018

Conversation

tomchristie
Copy link
Member

  • Don't error when add_signal_handler is not supported.
  • Use signal.signal to trap signals in that case.

See https://stackoverflow.com/questions/24774980/why-cant-i-catch-sigint-when-asyncio-event-loop-is-running/24775107#24775107

It's not clear to me if this will be sufficient to properly catch Ctrl-C events - possible we might want to start a separate thread in that case.

@tomchristie tomchristie mentioned this pull request Jul 12, 2018
@tomchristie tomchristie merged commit 61b4064 into master Jul 12, 2018
@tomchristie tomchristie deleted the improve-windows-support branch July 12, 2018 09:09
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

Successfully merging this pull request may close these issues.

1 participant