# encoding: utf-8 import os class CIProcess(): def __init__(self): self.proce = "explorer.exe" def Run(self): os.system('taskkill /IM %s /F' % self.proce) os.system("start %s" % self.proce) return 0 if __name__ == '__main__': process = CIProcess() ret = process.Run() print("ret:%d" % ret) os._exit(ret)