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

Support for environment variables substitution in scripts #1315

Open
SamoylovMD opened this issue Aug 6, 2024 · 1 comment
Open

Support for environment variables substitution in scripts #1315

SamoylovMD opened this issue Aug 6, 2024 · 1 comment

Comments

@SamoylovMD
Copy link

Currently Rye doesn't support environment variables in scripts:

[tool.rye.scripts]
test_env = "echo $HOME"

What I expect:

$ rye run test_env
/home/username

But what I got instead is:

$ rye run test_env
$HOME

I think this would be a good addition to the current capabilities of scripting.

@my1e5
Copy link
Contributor

my1e5 commented Aug 7, 2024

Duplicate of #695

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