I understand the value. Does sys.exit work?

On Dec 14, 2008 10:16 PM, "jay" <[email protected]> wrote:

> Or can use Python code: > >   os.kill(os.getpid(), signal.SIGINT) > > if
want to kill itself. Wha...
It is called from inside the loop of a shell script.  When the
application completes, the script checks for upgrades, installs them
and restarts the application.

I still don't understand why people don't see any value in being able
to stop a thread without just killing the whole ball of wax.

--~--~---------~--~----~------------~-------~--~----~ You received this
message because you are subs...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to