I'm running a script that executes a number of executables by using
subprocess.call(cmdArgs,stdout=outf, stderr=errf)
when outf
/errf
is either None or a file descriptor (different files for stdout
/stderr
).
Is there any way I can execute each exe so that the stdout and stderr will be written to the files and terminal together?