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

windows handling keyboard exception #21

Open
wants to merge 2 commits into
base: cleaning
Choose a base branch
from

Conversation

fosfrancesco
Copy link
Member

Adding support for windows command interrupt.
Now midi files are saved and ports are closed when a keyboard interrupt occurs. This was not the case before on windows.

@fosfrancesco fosfrancesco requested a review from manoskary October 3, 2022 09:58
@nimrodVarga
Copy link
Collaborator

Maybe we should add a comment that this is because of an Intel Fortran Library which by default adds a ConsoleCtrlHandler on Windows which crashes the program and using an environment variable, this can be disabled. (The 'FOR' in the variable stands for Fortran, fyi.)

This seemed as the most reliable source for me:
ContinuumIO/anaconda-issues#905 (comment)

@manoskary manoskary mentioned this pull request Oct 3, 2022
@manoskary
Copy link
Member

This PR should be merged only after the Current review process is done on PR #20

@nimrodVarga
Copy link
Collaborator

I added a comment (also removing some redundant stuff that was added during the fixing process)

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.

3 participants