[手游项目2]-9-进程监控自动重启

xiaoxiao2021-03-01  4

批处理.bat

 

@echo off :en tasklist |find "Gate"||start Gate ping -n 5 127.0.0.1>nul goto en

http://python.jobbole.com/84338/ https://blog.csdn.net/zhanglu1236789/article/details/65629599 https://blog.csdn.net/gamer727/article/details/47779691 https://blog.csdn.net/aiynmimi/article/details/72822183 https://blog.csdn.net/walter_chan/article/details/51811249

bat中if语句的用法 https://blog.csdn.net/sanqima/article/details/37818115

bat中取tasklist|find /c "可执行文件名"的返回值 https://bbs.csdn.net/topics/392266002?list=lz

dos命令find和taskkill的返回值 https://zhidao.baidu.com/question/1180222853290567779.html

利用Windows的命令行工具tasklist和findstr,start结合计划任务实现一种进程监控的方案  http://gaofeng.jiang.blog.163.com/blog/static/2254040520118198351490/

转载请注明原文地址: https://www.6miu.com/read-3849925.html

最新回复(0)