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