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

Fix inconsistency on env stderr output #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edlanglois
Copy link
Contributor

It is possible for env to produce output on stderr.
I don't know the precise condition, but it is triggered by the Environment Modules Bash initialization script
previous_env did not capture stderr while program_execution does,
so there would be spurious diffs when env outputs to stderr.

This fixes that by capturing stderr in previous_env as well.

It is possible for env to produce output on stderr.
`previous_env` did not capture stderr while `program_execution` does,
so there would be spurious diffs when env outputs to stderr.

This fixes that by capturing stderr in `previous_env` as well.
edlanglois added a commit to edlanglois/dotfiles that referenced this pull request May 16, 2019
My fork fixes an issue when 'env' prints on stderr
oh-my-fish/plugin-foreign-env#21

Switch back to the upstream master when the PR is merged
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.

1 participant