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

stdlib: direnv_load can now handle stdout outputs #551

Merged
merged 1 commit into from Jan 17, 2020
Merged

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Jan 17, 2020

Fixes issues where that error message would appear (#519) :

direnv: error unmarshal() base64 decoding: illegal base64 data at input byte 0

The issue was that direnv_load was reading from the sub-command
stdout, which could also containt content from other commands than
direnv dump. This is now solved by opening a fifo pipe between the
load and the dump function.

Fixes issues where that error message would appear:

    direnv: error unmarshal() base64 decoding: illegal base64 data at input byte 0

The issue was that `direnv_load` was reading from the sub-command
stdout, which could also containt content from other commands than
`direnv dump`. This is now solved by opening a fifo pipe between the
load and the dump function.
@glasser
Copy link

glasser commented Jan 26, 2020

This is great! We have had to be so careful with this before.

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

Successfully merging this pull request may close these issues.

None yet

2 participants