A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-October/009702.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib cgi.py,1.53,1.54

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib cgi.py,1.53,1.54Fredrik Lundh fredrik@pythonware.com
Tue, 3 Oct 2000 10:52:37 +0200
> Change first line to #!/usr/bin/env python (really just to test check-in).

hmm.  cgi.py is a CGI script.  according to the Python FAQ, CGI
scripts should use an explicit path, not /usr/bin/env:

    "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."

(since this comes up over and over again, maybe someone should
add a comment to the file?)

</F>




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