[Newbie] Tkinter Question
randy.day at sasktel.netx
Thu Feb 25 12:13:53 EST 2016
In article <DumdnVLDRa4MEFPLnZ2dnUU7-fWdnZ2d at giganews.com>,
best_lay at yahoo.com says...
> Anyway, I am happy with the outcome even though I have
> not found a way to detect when the program is force
> killed. It is unlikely that would ever occur as long
When your peogram starts, have it create
a small file. As part of your graceful
shutdown, delete the file.
Any subsequent processes can test for
the existence of the file; if it exists,
your program did not exit gracefully.
--- news://freenews.netfront.net/ - complaints: news at netfront.net ---
More information about the Python-list