>> You can start it from a shell script
>> #!/bin/sh
>> ./MyWebServer.py 2>>/path/to/output.log
>>

"Paulino" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> well, I'm running this CGIserver on windows...

You can still use redirection although its not as powerful as unix.

Just try

C:\PATH> python \path\mywebserver.py  > logfile.txt

You can get full details by entering the search string "output 
redirection"
at the XP Help screen and viewing the "Using command redirection 
operators"
topic.

HTH,


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to