[Tutor] env shebang with options

Magnus Lyckå magnus at thinkware.se
Sat May 1 11:55:43 EDT 2004

At 22:50 2004-04-29 -0700, Danny Yoo wrote:
>Ok, after reading this a bit, I'm guessing that
>     #!/usr/bin/env python {options}
>might not be so portable, as the shebang feature seems to behave subtly
>different between all the the Unices.

Yes, it seems that

#!/usr/bin/env python


#!/usr/bin/python -Ot

works, but not

#!/usr/bin/env python -Ot

in Linux.

Magnus Lycka (It's really Lyckå), magnus at thinkware.se
Thinkware AB, Sweden, www.thinkware.se
I code Python ~ The Agile Programming Language 

More information about the Tutor mailing list