Hi All,

Before we upgraded from Tomcat 6.0.18 to 6.0.26 I was able to redirect
stdout/stderr of tomcat.exe using the following Python code;

>>> from subprocess import Popen
>>> logfile = open('tomcat.log', 'w')
>>> p = Popen(r'"C:\Program Files\Apache Software Foundation\Tomcat
6.0\bin\tomcat6.exe"', shell=True, stdout=logfile, stderr=logfile)

but with 6.0.26, the above code fails to redirect the output to tomcat.log,
all of the output goes to the console (cmd.exe).

Has something changed in 6.0.26 (Windows) that would effect this behaviour ?

Cheers
---
Bulkan Evcimen

Reply via email to