python 进程检测与终止

if not pw.is_alive():
        pr1.terminate()
        pr.terminate()

 

posted @ 2022-04-05 15:57  myrj  阅读(141)  评论(0编辑  收藏  举报