On Dec 15, 2:05 pm, jay <[email protected]> wrote:
> > kill -SIGINT <pid>
>
> So, in order for my application to terminate itself, I should find my
> PID, shell out and issue a kill to myself? Sweet.
Or can use Python code:
os.kill(os.getpid(), signal.SIGINT)
if want to kill itself. What though will then start it up again?
Graham
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---