durusmail: quixote-users: 2.0a1 scgi demo broken out of the box
2.0a1 scgi demo broken out of the box
2004-10-18
2004-10-27
2004-10-27
2004-10-27
2004-10-27
2.0a1 scgi demo broken out of the box
Mario Ruggier
2004-10-27
On Oct 27, 2004, at 6:45 PM, Neil Schemenauer wrote:
> On Wed, Oct 27, 2004 at 12:41:16PM -0400, Neil Schemenauer wrote:
>> If you don't read the config file then the errors should go to
>> stdout.
>
> Actually, stderr.

If I run my copy of demo_scgi.py, to which I add something like:

import os
print os.path.abspath(os.path.curdir)

at the end of the file, nothing is printed in the terminal
where i run the script. If I move the above 2 lines to the top
of the script, the full curdir is printed correctly in the same
terminal.
The script has the read_conf line commented out.
Where is stdout being changed, and what to?

mario


reply