3
A
回答
2
当然可以。安装您的操作系统BottleDaemon 0.1.0比改变你的路由器的文件,像这样:
from bottledaemon import daemon_run
from bottle import route
@route("/hello")
def hello():
return "Hello World"
# The following lines will call the BottleDaemon script and launch a daemon in the background.
if __name__ == "__main__":
daemon_run()
+0
是的,我在守护进程模式下做了同样的事情。 – AshokGK 2014-11-02 07:45:41
相关问题
- 1. 有没有办法在CDMA模式下运行Android模拟器?
- 2. Sinch不能在后台运行没有办法(Android)
- 3. 有没有办法在只读模式下运行git?
- 4. 有没有办法在运行时更改控制台图标
- 5. 有没有办法用一个“模式”
- 6. 有没有办法查看在Eclipse中后台运行的命令?
- 7. 有没有办法在Raspberry Pi上运行Angular应用程序?
- 8. 有没有办法在android上运行windows mobile应用程序?
- 9. 有没有办法让python应用程序无法运行?
- 10. 有没有办法在运行pygame时,我也可以运行控制台?
- 11. 程序没有在后台运行
- 12. shell_exec没有在后台运行?
- 13. Php exec ffmpeg没有在后台运行
- 14. 即使应用程序在后台,是否有办法让NSthread运行?
- 15. 有没有办法运行NPM安装
- 16. 有没有办法脱机运行Trac?
- 17. 有没有办法在递归深度或内存有限模式下运行Haskell控制台?
- 18. 有什么办法可以在后台运行进程?
- 19. 有没有什么办法来检查一个twitter应用是否在后台运行
- 20. 有没有办法在运行脚本后获得交互式ruby shell?
- 21. 有没有办法确定GWT代码是否在开发模式下运行?
- 22. 有没有办法在非图形(无视图)模式下运行Cytoscape?
- 23. 有没有办法使用业力没有运行节点?
- 24. 有没有办法以编程方式检测应用程序在chrome调试模式下运行的时间?
- 25. 有没有办法让VideoView继续在Android应用程序的后台播放?
- 26. 有没有办法在Silverlight或WPF应用程序中模拟控制台?
- 27. 有没有办法阻止window.history.forward后运行额外的JavaScript?
- 28. 有没有办法在后台线程上建立TreeView控件?
- 29. 我有没有办法在后台捕获KEYCODE_BRIGHTNESS_DOWN事件?
- 30. 有没有办法让Eclipse在后台不刷新工作区?
您可以使用['supervisord'(http://supervisord.org/)来守护进程和管制瓶。例如,请参阅[本文](http://jamie.curle.io/blog/bottle-and-supervisord/)。 – 2014-10-01 06:21:02