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

Fix hanging background processes on Sierra #22

Merged
merged 1 commit into from
Apr 4, 2017
Merged

Fix hanging background processes on Sierra #22

merged 1 commit into from
Apr 4, 2017

Conversation

henrythach
Copy link
Contributor

@azai91 First, thanks for your workflow. It's the workflow I use the most.

This pull request fixes the Python process from using 100% CPU for macOS 10.12.4.

As the people in issue #21 mentioned, the workflow sometime causes Python to use up 100% CPU. The good folks over at deanishe/alfred-workflow#111 looked into this issue and found the fix to replace sys.exit(0) to os._exit(0) in the background code. Doing this worked seems to work for me, tested on macOS 10.12.4 + Alfred v3.3.1.

Considering the workflow hasn't been updated in almost a year, I figured I'll just update the errant code than update the library.

Thoughts?

@azai91 azai91 merged commit 3bf69e3 into azai91:master Apr 4, 2017
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.

2 participants