Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Linux doesn't support options, unfortunately. The executable path /usr/bin/env is parsed, then the remainder of the line is used as a single argument, spaces and all:

  $ cat x.py
  #!/usr/bin/env python -i

  $ ./x.py 
  /usr/bin/env: python -i: No such file or directory


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: