守护进程代码: import time, os import subprocess def run(): while True: taskList = os.popen('tasklist').read() for path, exe in [os.path.split(line.strip()) for line in open('config') if line.strip()]: if exe not in taskList: subprocess.Popen(u'start /d"%s&…