1、配置时关闭主程序

2、配置开及自启动
This commit is contained in:
2022-02-22 10:12:39 +08:00
parent 2b9de45d6a
commit 80e4ce0b00
6 changed files with 14 additions and 2 deletions

View File

@ -13,6 +13,7 @@ ob_implicit_flush(1);//将打开或关闭绝对(隐式)刷送。绝对(隐
//echo shell_exec("D:\\03MyGit\\linux\\movingliner\\cmake-build-debug-mingw\\movingliner.exe");
//$cmd = 'ping 127.0.0.1';
//sy""
system("sudo pkill TowerOptoSifAndSpectral");
system("sudo pkill movingliner");
Echo $a;
$cmd = 'sudo /home/pi/bin/movingliner '.$a;