How to stop a SocketServer?

Frank Tobin ftobin at neverending.org
Sun Jun 30 16:03:58 EDT 2002


Uwe Mayer, on 2002-06-22, wrote:

> I'll be faceing the same problem in a few weeks. Does sys.exit()
> terminate a thread or the interpreter?

The way I currently do it is by sending a TERM signal to the process.  
Dirty, but SocketServer doesn't really give any other good way.

-- 
Frank Tobin			http://www.neverending.org/~ftobin/




More information about the Python-list mailing list