python 进程检测与终止

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

 

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