1.taskkill
python 脚本杀掉进程:
subprocess.call(['taskkill', '/F', '/T', '/PID', pipe.pid)])
1.taskkill
python 脚本杀掉进程:
subprocess.call(['taskkill', '/F', '/T', '/PID', pipe.pid)])
转载于:https://www.cnblogs.com/lovemo1314/archive/2012/10/17/2728215.html