stoic:一种可靠的程序运行方式

时间:2024-07-01 01:45:27
【文件属性】:

文件名称:stoic:一种可靠的程序运行方式

文件大小:12KB

文件格式:ZIP

更新时间:2024-07-01 01:45:27

Python

斯多葛派 一种更可靠的程序运行方式。 特征 Stoic 在它终止时重新启动你的进程。 如果您的过程立即再次死亡,Stoic 不会紧缩。 Stoic 从您的进程中捕获 stdout 和 stderr 并用时间戳记录它们。 Stoic 可以作为守护进程在后台运行。 新的 stoic 程序将等待旧进程完成并在开始之前释放所有套接字。 当进程重新启动时,通过电子邮件 、IRC 或 HTTP 通知。 用法 # Run a command stoic -- myprogram myarguments # Run a process in the background. stoic --start --log-file=stoic.log --socket=stoic.socket -- myprogram # Replace a running background process sto


【文件预览】:
stoic-master
----.gitignore(7B)
----README.rst(1KB)
----LICENSE(10KB)
----TODO(328B)
----scripts()
--------stoic(2KB)
----stoic()
--------log.py(2KB)
--------daemon.py(6KB)
--------runner.py(5KB)
--------__init__.py(592B)
----setup.py(1KB)

网友评论