Skip to content

Conversation

@VojtechBartos
Copy link

Hey guys,
i have got to situation when i need to extend exec command environment variables and i don't wanna add it to process.env. I have just added additional _.extend call for options.env.

Take a look and let me know ;)

Vojta

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_.extend can accept multiple objects as sources. Please fix the code to look like this:

_.extend( processOptions.env, options.env, { PYTHONUNBUFFERED: unbuffered } );

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants