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

error encountered while scanning stdout: file already closed #298

Closed
gabivlj opened this issue Feb 6, 2024 · 0 comments · Fixed by #299
Closed

error encountered while scanning stdout: file already closed #298

gabivlj opened this issue Feb 6, 2024 · 0 comments · Fixed by #299

Comments

@gabivlj
Copy link
Contributor

gabivlj commented Feb 6, 2024

Similar to #116

Started encountering these since 1.5.1 added the error check of the stdout scanner: https://github.com/hashicorp/go-plugin/blob/v1.5.1/client.go#L763

The simple fix would be waiting for this goroutine to end before calling .Wait().

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 a pull request may close this issue.

1 participant