You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
373 B
20 lines
373 B
1 month ago
|
# 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)
|