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

ExifTool process continues to run after parent python process tskill is sent on windows. #34

Open
apiszcz opened this issue Aug 31, 2021 · 3 comments

Comments

@apiszcz
Copy link

apiszcz commented Aug 31, 2021

It appears that something is causing pyxexiftool to ignore the kill signal.
I would like to be to terminate the process with taskkill or tskill.
tskill PID has no effect

@sylikc
Copy link

sylikc commented Jan 30, 2022

Do you happen to be using this on WINDOWS?

I have the same problem and I tried to fix it on my fork to no avail sylikc@5a87388 . This is a problem only on Windows... I've further reported this bug to CPython https://bugs.python.org/issue43784 They haven't fixed it yet...

Behavior: Python interpreter hangs on exit as the autokill doesn't work. I actually think spawning a process like taskkill or tskill will hang as well

@apiszcz
Copy link
Author

apiszcz commented Jan 30, 2022 via email

@sylikc
Copy link

sylikc commented Jan 30, 2022

Anyhow it's not fixed. You'd want to manually call et.terminate instead of having it work at del() . I tried a couple ways, and on Windows it's a bug with CPython 3.9+ ... no way around it.

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

2 participants