[Python-Dev] Re: [ Patch #100719 ] Use '#!/usr/bin/env python' in scripts
Fredrik Lundh
fredrik@pythonware.com
Tue, 4 Jul 2000 11:18:40 +0200
(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)
</F>