摘要: 解决办法: source_cmd = 'source /etc/profile' subprocess.run(source_cmd, shell=True, executable="/bin/bash", capture_output=True) 阅读全文
posted @ 2024-07-09 17:11 Tarzen 阅读(67) 评论(0) 推荐(0) 编辑