pythonのsubprocess.runでexecutable=’/bin/bash’だけだとインタラクティブな操作になるが、shell=Trueを追加すると非インタラクティブになる updated: 2025/12/01 created: 2025/12/01