python - Cherrypy server does not accept incoming http request on MS Windows if output (stdout) is not redirected -
This is a weird 'bug'
I have written a cherry based server. If I run it like this:
dragon simple_server.py & gt; Out.txt
This works as expected
Finally without redirection, however, the server will not accept any connection at all.
Anyone have any ideas?
I'm using Python 2.4 on a Win XP Professional Machine.
Are you running a script in an XP "command window"? Otherwise (if there is no duplication and no command window is available), the standard output can be turned off simply, which can prevent the script (or its underlying framework).
Comments
Post a Comment