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 process kill on windows #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OdyX
Copy link

@OdyX OdyX commented Dec 19, 2022

Fixes #63 AFAIK

Also don't get outs nor errs from Popen.communicate()

Fixes sylikc#63
@OdyX OdyX force-pushed the fix-process-kill-on-windows branch from e334483 to 205364f Compare December 19, 2022 12:59
@sylikc
Copy link
Owner

sylikc commented Dec 30, 2022

@OdyX while this fixes the actual hanging, it leaves zombie processes of the exiftool launcher on Windows. See https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows to understand what the default self-extracting Perl Packager does.

I recall trying this fix before, but I've opted not to just kill as it leaves the zombie launcher around. CPython really needs to fix that bug... but it doesn't seem to be high priority if it's been open so long :(

@sylikc sylikc added the question Further information is requested label Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ExifToolHelper Hangs in pytest, in wine
2 participants