📌  相关文章
📜  从 python 代码示例运行 shell 脚本

📅  最后修改于: 2022-03-11 14:46:56.076000             🧑  作者: Mango

代码示例3
import subprocess
subprocess.call(["./shell.sh"])

# Make sure that "shell.sh" has "+x" permissions