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

Run commands with environment from global environment #598

Open
willir opened this issue Mar 31, 2022 · 0 comments
Open

Run commands with environment from global environment #598

willir opened this issue Mar 31, 2022 · 0 comments

Comments

@willir
Copy link

willir commented Mar 31, 2022

Hi, thanks for the great library. I have a question.

As far as I understand, when you run commands via local object, they read environ from frozen local.env object.
Is there a way to change that behavior and to make them use os.environ instead?

The issue I have - I have other python code I don't have quite a control of that changes os.environ, so it would be more convenient if local would use os.environ instead of saved local.env.

Thank you.

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

1 participant