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

New ENV var pointing to CLI #131

Open
kolloch opened this issue Apr 24, 2020 · 2 comments
Open

New ENV var pointing to CLI #131

kolloch opened this issue Apr 24, 2020 · 2 comments

Comments

@kolloch
Copy link
Collaborator

kolloch commented Apr 24, 2020

rust-lang/cargo#7697

@andir
Copy link
Collaborator

andir commented Apr 24, 2020

This will yet again support dashes (-) in environment variables: https://github.com/rust-lang/cargo/pull/7697/files#diff-5ac8f23ed1f09085c81205ba290e0af6R194

We will probably need a way to set those from bash.

@kolloch
Copy link
Collaborator Author

kolloch commented Apr 25, 2020

https://unix.stackexchange.com/a/23714/407808 shows how to do it when invoking another program (or I guess sub shell):

env "test-with-hyphens=3" my-program ...

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