添加绑定monitor与运行参数到可执行文件的cmake target。

This commit is contained in:
xinyang
2019-05-06 23:14:53 +08:00
parent 5f36004fe6
commit 937fced215

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# usage: monitor.sh "<the exe file's absolute path and its shell parameter>"
# And then when ever the exe shutdonw it will be automatically restart
# And then when ever the exe shutdown it will be automatically restart
exe=$1
while true; do