摘要:
有两个信号在python中是无法处理和更改的:SIGTOP和SIGKILL,之前想到用supervisord管理tomcat进程,我们向代理程序发送这个信号并拦截的思路不能实现。会提示以下错误:hartnettmatoMacBook-Pro:python hartnett$ python signal.py Traceback (most recent call last): File "signal.py", line 10, in signal.signal(signal.SIGKILL, functionA)RuntimeError: (22, 'Invali 阅读全文