Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: let system level set env win#531

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
shyim wants to merge1 commit intosymfony-cli:main
base:main
Choose a base branch
Loading
fromshyim:fix/system-level-set-env

Conversation

@shyim
Copy link
Contributor

when I have a .env

foo=1

and then do:

export foo=my-valuesymfony php -i | grep foo

I see it is set to 1. and this is wrong. When I export a env variable it should win

@tucksaun
Copy link
Member

I’m wondering if instead we should not change the logic inExecutor.Execute() to force the current environment to be appended instead of being preprended.
/cc@nicolas-grekas wdyt?

@nicolas-grekas
Copy link
Contributor

No opinion about the implementation, but the description of the issue looks correct to me, the precedence needs a fix.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@shyim@tucksaun@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp