A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/314919.html below:

CGIHTTPServer, popen3, and windoze

CGIHTTPServer, popen3, and windoze CGIHTTPServer, popen3, and windozeFuzzyman fuzzyman at gmail.com
Sun Sep 11 15:32:36 EDT 2005
Hello all,

I may well post this a  a bug on Monday (after testing with Python 2.3)
- but I thought I'd post here to see if anyone has any ideas.

The basic problem is that under Python 2.4 (and windoze XP SP2)
CGIHTTPServer isn't passing the CGI environment variables to scripts it
runs.

I've checked that the environment variables all exist in os.environ
before the subprocess is launched using popen3.

I've *also* checked that when I launch a test subprocess using popen3
myself, environment variables *are* passed on - so I'm a bit
confused...

I wonder if anyone can shed any light on this behavior ?

All the best,


Fuzzyman
http://www.voidspace.org.uk/python

P.S. I've also patched CGIHTTPServer so that it can handle paths wih
spaces and CGIs in subdirectories of the 'cgi-bin' folder. I'll
*suggest* these changes to the maintainers -  but my tests were on the
original version.


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4