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

CommandTaskRunner: reset SHELL_VERBOSITY to pre-run state #42

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

kbond
Copy link
Member

@kbond kbond commented Mar 19, 2021

Application::run() sets the SHELL_VERBOSITY environment variable globally. This causes subsequent tasks run in the same process to use this new value. This could lead to unexpected consequences (more log data than expected). This change captures the variable before running the command and resets it to this starting state after.

@kbond kbond added the bug Something isn't working label Mar 19, 2021
@kbond kbond force-pushed the application-shell-verbosity branch from a955f57 to 6d349d2 Compare March 19, 2021 22:09
Application::run() sets the SHELL_VERBOSITY environment variable
globally. This causes subsequent tasks run in the same process to
use this new value. This could lead to unexpected consequences (more
log data than expected). This change captures the variable before
running the command and resets it to this starting state after.
@kbond kbond force-pushed the application-shell-verbosity branch from 6d349d2 to 58df54e Compare March 19, 2021 22:12
@kbond kbond merged commit 90bfea4 into zenstruck:master Mar 19, 2021
@kbond kbond deleted the application-shell-verbosity branch March 19, 2021 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

1 participant