Skip to content

Support custom environment variables when running commands via the shell module #25

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

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

yorinasub17
Copy link
Contributor

Currently the shell module does not support custom environment variables when running commands. This PR adds a new Env option to the ShellOptions struct which will be converted to environment variables for the Cmd struct.

Copy link
Member

@brikis98 brikis98 left a comment

Choose a reason for hiding this comment

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

LGTM!

@yorinasub17
Copy link
Contributor Author

Merging and releasing! Thanks for review.

@yorinasub17 yorinasub17 merged commit 1ee0c10 into master Aug 13, 2019
@yorinasub17 yorinasub17 deleted the yori-shell-env branch August 13, 2019 04:48
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

Successfully merging this pull request may close these issues.

2 participants