📜  从 python 代码示例调用 shell 脚本

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

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

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