-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Process] Fix bug which wiped or mangled env vars #22183
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
Conversation
public function testEnvBackupDoesNotDeleteExistingVars() | ||
{ | ||
putenv('existing_var=foo'); | ||
$process = $this->getProcess('echo "$new_test_var"'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this command does not work on Windows (see appveyor failure)
so we should either make the test pass o Windows, or at least skip it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you @pjcdawkins. |
…ins) This PR was squashed before being merged into the 3.2 branch (closes #22183). Discussion ---------- [Process] Fix bug which wiped or mangled env vars | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Fixing (and testing) a one-character bug introduced in a recent commit symfony/process@7d21c4a Commits ------- 9439237 [Process] Fix bug which wiped or mangled env vars
Fixing (and testing) a one-character bug introduced in a recent commit symfony/process@7d21c4a