Windows cmd上运行的程序,当程序抛出错误时,它会一直等待用户输入忽略/继续或取消,但我有这个批处理文件,它会在出错时自动重新启动程序,但由于它一直在等待用户输入,所以我必须转到那里并按下一个按钮
echo (%time%) WARNING: Unturned closed or crashed, restarting>>c:\crashlog
tab=MostPlayed#p0Team Fortress 2Clicker HeroesPath of ExileSMITEtab=MostPlayed#p1Team Fortress 2Clicker HeroesPath of ExileSMITEtab=MostPlayed#p2Team Fortress 2Clicker Heroes
Unt