yes, in retrospect I probably should not have posted that code, since it interferes with the normal sequence of events. A much less intrusive way of doing the monitoring is to use code like this:
f = p.communicate() err.close() fout = open('\Windows\Temp\save_as_err.txt', 'wt') fout.write("\nstdout = " + f[0]) fout.write("\nstderr = " + f[1] + "\n") fout.close()
which allows you to see both the normal and the error output.
yes, in retrospect I probably should not have posted that code, since it interferes with the normal sequence of events. A much less intrusive way of doing the monitoring is to use code like this:
f = p.communicate() Windows\ Temp\save_ as_err. txt', 'wt') "\nstdout = " + f[0]) "\nstderr = " + f[1] + "\n")
err.close()
fout = open('\
fout.write(
fout.write(
fout.close()
which allows you to see both the normal and the error output.