摘要: import psutilimport osdef is_running(script): for q in psutil.process_iter(): if q.name().startswith('python'): if len(q.cmdline())>1 and script in q. 阅读全文
posted @ 2019-06-10 16:45 C,python,linux,java 阅读(431) 评论(0) 推荐(0) 编辑