forked from AcademySoftwareFoundation/rez
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Powershell escapes "&" on environment variables #93
Comments
Thanks for reporting this. First thing I would check is whether they've solved this up-stream, then we could merge those results here. Are you able to test |
|
Have a look at whether you can port that over, it's here. Should be around here I think. |
salvaom
added a commit
that referenced
this issue
Feb 14, 2020
Fix "&" being escaped on PoweShell's environment variables (#93)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
While creating a Houdini package, I've stumbled onto a small issue using this following command:
While I was expecting to have
&
added to the end of theHOUDINI_PATH
environment variable, the following occurs:While it's expected for special characters to be escaped, the & character is sometimes required to setup Houdini's environment variables, and
^
is also a special Houdini character.https://www.sidefx.com/docs/houdini/basics/config_env.html
Solution (?)
By removing
&
from the_escape_re
insrc\rezplugins\shell\powershell.py
this issue seems to be fixed but as far as I know PS also uses & to evaluate strings as commands, so I'm unsure of how would this affect the rest of rez.The text was updated successfully, but these errors were encountered: