Hello,
Is there a way or a command in webpy to stop the server where it's
running (CherryPy or other) without using Ctrl+c in the shell ?
For example I want to stop the server with an "http-post" command send
by the administrator:
class stopServer:
def POST(self):
i=web.input()
if ( ( i.sid=="theAdminSid") &
( i.action=="stopServer" ) ):
<STOP THE SERVER>
" just a way to stop properly the server "
Thinks for help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---