Strange behavior with os call in cgi script

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Wed Feb 8 05:39:35 EST 2006


Vinay Sajip:
>Rene Pijlman:
>> It struck me as somewhat complicated as well.

>You should look at later versions of Python - your points above about
>easier configuration have already been addressed: here's a link from
>the current (2.4) docs:
>
>http://docs.python.org/lib/minimal-example.html

Yes, that looks good. Thanks for pointing that out. So... my advice to OP
(if still alive) is:

Add logging to your program:
http://docs.python.org/lib/minimal-example.html

And log the environment:
http://www.python.org/dev/doc/newstyle/lib/os-procinfo.html

 :-)

-- 
René Pijlman



More information about the Python-list mailing list