On Tue, Jul 04, 2000 at 11:18:40AM +0200, Fredrik Lundh wrote: > (just a heads up, not sure if SF was able to send > out the notifications) > > This patch suggests changing /usr/local/bin/python to > /usr/bin/env python in cgi.py and faqwiz.py. Note > that both scripts are CGI scripts, and the FAQ has the > following to say about that: > > http://www.python.org/doc/FAQ.html#4.63 > > Note -- *don't* do this for CGI scripts. The $PATH > variable for CGI scripts is often very minimal, so > you need to use the actual absolute pathname of > the interpreter. > > -1, in other words (assuming that the FAQ is correct) I have observed the same behavior in my CGI scripts: you cannot rely on PATH, so the /usr/bin/env thing simply doesn't work. -1 also. Cheers, -g -- Greg Stein, http://www.lyra.org/
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