Skip to content
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

${EnvironmentVariable} expansion in windows does not work #443

Closed
bfloch opened this issue Jul 10, 2017 · 3 comments
Closed

${EnvironmentVariable} expansion in windows does not work #443

bfloch opened this issue Jul 10, 2017 · 3 comments

Comments

@bfloch
Copy link
Contributor

bfloch commented Jul 10, 2017

To quote the wiki:

Environment variable expansion is also supported when passed to rex functions. The syntaxes $FOO and ${FOO} are supported, regardless of the syntax supported by the target shell.

However in my testing the environment variables do not get expanded on windows in CMD.

Only the "Python" interpreter does expand_env_vars = True, while in bash the system takes over and does the expanion.

Since on windows ${} is not supported I suggest that expand_env_vars should be set True in the CMD shell.

Is there a risk doing this?

@skral
Copy link
Contributor

skral commented Mar 4, 2018

@bfloch Can you provide reproducible steps to what you tried, please? I am trying to understand where you're running into this issue.

@bfloch
Copy link
Contributor Author

bfloch commented Mar 4, 2018

I will have to try again and see if this still applies.
But I do not have access to that environment till April.

@bfloch
Copy link
Contributor Author

bfloch commented Aug 20, 2019

Closing in favor of the new issue.

@bfloch bfloch closed this as completed Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants