import os, 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" %s' % (path, exe), shell = True)
time.sleep(60)
Run()