full.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:GUI-for-EWBF 作者: K4P11 项目源码 文件源码
def kill_proc_tree(pid, including_parent=False):    
    parent = psutil.Process(pid)
    children = parent.children(recursive=True)
    for child in children:
        child.kill()
    gone, still_alive = psutil.wait_procs(children, timeout=5)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号