Is it possible to programmatically exit from the wsgiref's
serve_forever() loop?

I tried the following, all without success:

httpd.server_close()
httpd.shutdown()
sys.exit(1)
os._exit(1)  (shouldn't this always abort an application?)
raise KeyboardInterupt  (Ctrl+Break from console works)

Thanks,
Malcolm
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to