> Or can use Python code: > > os.kill(os.getpid(), signal.SIGINT) > > if want to kill itself. What though will then start it up again?
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 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 -~----------~----~----~----~------~----~------~--~---
