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

Pass $_ENV variables to amp/parallel callback #863

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

veewee
Copy link
Contributor

@veewee veewee commented Jan 12, 2021

Q A
Branch master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Documented? no
Fixed tickets #856

amp/parallel-functions is not copying the env variables from the parent into the child process automatically.
This fix enriches the $_ENV variables from the child process with the once set from the parent process.

The amp child process will pass the $_ENV during task execution to the task process in symfony/process (IF the value of the env variable is a string)

@veewee veewee added the bug label Jan 12, 2021
@veewee veewee added this to the 1.3.1 milestone Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant