我正在运行一个脚本,通过使用执行许多可执行文件
subprocess.call(cmdArgs,stdout=outf, stderr=errf)
when outf/ errf是None或文件描述符(stdout/的不同文件stderr).
outf
errf
stdout
stderr
有什么方法可以执行每个exe,以便将stdout和stderr一起写入文件和终端?
python subprocess parent
parent ×1
python ×1
subprocess ×1