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

os/exec: provide better support for creating pipelines #11164

Open
Sajmani opened this issue Jun 11, 2015 · 3 comments
Open

os/exec: provide better support for creating pipelines #11164

Sajmani opened this issue Jun 11, 2015 · 3 comments

Comments

@Sajmani
Copy link
Contributor

Sajmani commented Jun 11, 2015

Creating pipelines using os/exec is somewhat tedious. There are a couple of good external packages that provide higher-level interfaces:
http://godoc.org/gopkg.in/pipe.v2
http://godoc.org/github.com/ghemawat/stream

Brad asked me to file an issue to think about making this better for Go 1.6.

Related: it's common to want the text of stderr on failure, but not as CombinedOutput. The pipe package calls this DividedOutput: http://godoc.org/gopkg.in/pipe.v2#DividedOutput

@josharian josharian added this to the Go1.6 milestone Jun 11, 2015
@rsc rsc modified the milestones: Unplanned, Go1.6 Nov 5, 2015
@bradfitz bradfitz removed their assignment Apr 24, 2017
@marcellanz
Copy link

I have some time to look into this. @Sajmani can the external packages mentioned in your initial comment still be seen as "good" to address your concerns? Are there any current ideas about what the main pain-points still are and in which direction to go?

@marcellanz
Copy link

Are there any current ideas about what the main pain-points still are and in which direction to go?

@Sajmani
Copy link
Contributor Author

Sajmani commented Sep 18, 2019

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

No branches or pull requests

5 participants