【发布时间】:2016-12-11 16:15:01
【问题描述】:
与 nohup 相比,使用 twistd 有什么优势?
为什么要这样做
twistd -y service.tac
什么时候可以做:
nohup sudo python my_app.py &
?
我问这个是因为我在使用 twistd 时遇到了困难,请参阅 my question here
【问题讨论】:
-
所有
nohup所做的只是防止在父进程(通常是shell)终止时发送SIGHUP。twistd提供更多:twistedmatrix.com/documents/current/core/howto/basics.html
标签: python twisted nohup twisted.internet twistd