Hi,

I was wondering which approach is better to stop several servers from just on python application when 'ctrl-c' is pressed, a try/except KeyboardInterrupt or just registering a SIGINT handler and exit when the signal is triggered. Any advantage/disadvantage from one approach over the other?

P.S.: Since several servers are started just one 'ctrl-c' doesn't work without any extra change and I have some concerns about the signal handler.

Thank you for your answers.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to