I have a executable program with python 3.7, I want to track if user closed app with taskmanger then program do something.
Actually I used atexit, but this library not working on end task or process ending.
Is there any way to handle this?
my info:
- python 3.7
- windows 10
- pyinstaller 3.4