/keeprun

Keep the program running, and restart it if it crashes. 保持程序运行,如果程序崩溃要进行重启。

Primary LanguageRustMIT LicenseMIT

keeprun

Keep the program running, and restart it if it crashes. 保持程序运行,如果程序崩溃要进行重启。

run

There is an example to run python script tmp.py.

/path/to/keeprun python ./tmp.py

if keeprun is not runable, you can add run permit

chmod +x /path/to/keeprun