Hmm, Teemu thinks he's fixed that in our local branch which probably doesn't do you much good atm.

You could always register a handler in C++ .... if you don't mind a temporary hack you can just add it to src/nox_main.cc

.martin


On Nov 23, 2008, at 12:43 PM, Glen Gibb wrote:

I'm afraid that trying to use signal gives the following error:

ValueError: signal only works in main thread




Martin Casado wrote:
I think

import signal
signal(signal.SIGHUP, foo)

should work.

Is there an easy way to get a Nox python application to respond to SIGHUP?

Thanks,
Glen

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org





_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to