windows 杀死进程

 

 

pid_ = rds.connection_pool.pid

import subprocess

#handle = subprocess.Popen("", shell=False)
subprocess.Popen("taskkill /F /T /PID {}".format(pid_), shell=True)


print('go-----------')
posted @ 2018-05-22 22:21  papering  阅读(156)  评论(0编辑  收藏  举报