摘要: #等待返回,设置callback为Trueimport subprocess def executeshell_by_call(command, callback=False): """ 执行shell命令 必须加上close_fds=True,否则子进程会一直存在 """ if callback: 阅读全文
posted @ 2020-12-22 16:13 离人怎挽_wdj 阅读(441) 评论(0) 推荐(0) 编辑