Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103509

Re: [Newbie] Tkinter Question

From Randy Day <randy.day@sasktel.netx>
Newsgroups comp.lang.python
Subject Re: [Newbie] Tkinter Question
Date 2016-02-25 11:13 -0600
Organization Netfront http://www.netfront.net/
Message-ID <MPG.3138f24c69f3f5a0989692@freenews.netfront.net> (permalink)
References <Ye-dnZQLyOFiR1HLnZ2dnUU7-YPOydjZ@giganews.com> <DumdnVLDRa4MEFPLnZ2dnUU7-fWdnZ2d@giganews.com>

Show all headers | View raw


In article <DumdnVLDRa4MEFPLnZ2dnUU7-fWdnZ2d@giganews.com>, 
best_lay@yahoo.com says...

[snip]

> 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@netfront.net ---

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[Newbie] Tkinter Question Wildman <best_lay@yahoo.com> - 2016-02-23 16:19 -0600
  Re: [Newbie] Tkinter Question Christian Gollwitzer <auriocus@gmx.de> - 2016-02-23 23:37 +0100
  Re: [Newbie] Tkinter Question Chris Kaynor <ckaynor@zindagigames.com> - 2016-02-23 14:41 -0800
  Re: [Newbie] Tkinter Question Wildman <best_lay@yahoo.com> - 2016-02-24 23:13 -0600
    Re: [Newbie] Tkinter Question Randy Day <randy.day@sasktel.netx> - 2016-02-25 11:13 -0600

csiph-web