我想 stdout 在运行 os.system 调用之后获取变量。 ... batcmd="dir" result = os.system(batcmd) ... PIPE, shell=True) return p.stdout.read().
確定! 回上一頁