根据进程名称获取进程id
摘要:
# -*- conding:utf-8-*-import subprocessdef getpid_windows(process_name): """利用cmd_str = tasklist|find /i "xdict.exe" 来查找windows平台的进程id""" cmd_line = '... 阅读全文
posted @ 2014-07-23 11:12 leafs 阅读(2137) 评论(0) 推荐(0) 编辑