使用bat文件杀掉后台进程
自己写exe程序时,会出现调试闪退,但后台服务进程依旧存在的情况,这样第二次打开就会失败
每次在后台任务管理器里面找有点麻烦,这里使用一个bat文件,杀掉进程以及相关联的进程
@echo off
:start
taskkill /im UI.exe /f
taskkill /im tcpip.exe /f
taskkill /im AutomaticCalibration.exe /f
taskkill /im Test.exe /f
双击即可
自己写exe程序时,会出现调试闪退,但后台服务进程依旧存在的情况,这样第二次打开就会失败
每次在后台任务管理器里面找有点麻烦,这里使用一个bat文件,杀掉进程以及相关联的进程
@echo off
:start
taskkill /im UI.exe /f
taskkill /im tcpip.exe /f
taskkill /im AutomaticCalibration.exe /f
taskkill /im Test.exe /f
双击即可