Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
os/exec: provide better support for creating pipelines #11164
Creating pipelines using os/exec is somewhat tedious. There are a couple of good external packages that provide higher-level interfaces:
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