📜  linux 执行 sh - Shell-Bash 代码示例

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

代码示例5
self.returncode = subprocess. run(self.shellScriptPath, input='yes\n', text=True).returncode