⬅︎ Back to The importance of env (and how it works with virtualenv)
One caveat with the "#!/usr/bin/env prog" idiom is that it will most likely not work when your script is executed in a limited environment, e.g. as a CGI script by your web server.
Comment
One caveat with the "#!/usr/bin/env prog" idiom is that it will most likely not work when your script is executed in a limited environment, e.g. as a CGI script by your web server.