Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5191463

Browse files
committed
Undo Ping's change.
CGI scripts should *not* use /usr/bin/env, since on systems that don't come standard with Python installed, Python isn't on the default $PATH. Too bad that this breaks on Linux, where Python is in /usr/bin which is on the default path -- the point is that you must manually edit your CGI scripts when you install them.
1 parent 099e534 commit 5191463

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/cgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#! /usr/local/bin/python
22

33
"""Support module for CGI (Common Gateway Interface) scripts.
44

0 commit comments

Comments
 (0)