pkill 改为kill all

This commit is contained in:
2022-02-22 10:31:07 +08:00
parent c96c634250
commit 02bc0feb96
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +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 killall TowerOptoSifAndSpectral");
system("sudo pkill movingliner");
Echo $a;
$cmd = 'sudo /home/pi/bin/movingliner '.$a;