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

Add GRPC Stdio Copying system #113

Closed
wants to merge 1 commit into from
Closed

Conversation

sargun
Copy link

@sargun sargun commented Apr 22, 2019

No description provided.

@jefferai
Copy link
Member

A note to any reviewers, some of the comments indicate that this isn't necessarily fully implemented.

logger.Error("Experienced issue in gRPC copier", "error", e)
return
}
writer.Write(response.Data)

Choose a reason for hiding this comment

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

this would be better placed inside case nil:

@yurishkuro
Copy link

I wonder, wouldn't it be easier for the client to simply read the stdout/err of the child process, split on \n and forward to its own stdout/err? This way the plugins won't need to implement anything special, especially when they are written in other languages.

@mitchellh
Copy link
Contributor

Superseded by #135. Thank you!

@mitchellh mitchellh closed this Feb 24, 2020
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.

4 participants