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 · 0 comments

Comments

Projects
None yet
4 participants
@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

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