AcademySoftwareFoundation / rez

An integrated package configuration, build and deployment system for software
https://rez.readthedocs.io
Apache License 2.0
953 stars 340 forks source link

rez-python does not pass command-line flags to script #242

Open 1701-D opened 9 years ago

1701-D commented 9 years ago

When rez-python is used as a script interpreter (i.e. #!/usr/bin/env rez-python), command-line flags (- and -- options) are processed by rez-python instead of being passed through as arguments to the script.

nerdvegas commented 9 years ago

Cheers, I have been meaning tp update rez-python so that it matches python's own behaviour - that is, flags listed before the python file are passed to the program itself, and flags listed after are passed to the script.