commit | 91f7da2c8b6d5a927c9d4ec113aa7997b009aeb1 | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Wed Jan 06 14:27:51 2016 -0800 |
committer | Todd Wang <toddw@google.com> | Wed Jan 06 14:27:54 2016 -0800 |
tree | 8f30549d49f6b25e4b5a3c76e262acfd8453f453 | |
parent | bc0513dbe7a86e9442987d33526120e86e3e0964 [diff] |
gosh: Add Cmd.CombinedOutput, and simplify stdout/stderr ordering The Cmd.CombinedOutput method works like the exec.CombinedOutput method; it returns the combined stdout/stderr, in the order they were written. The simplification to stdout/stderr ordering is to always make writes to stdout and stderr writers synchronous, regardless of whether we have the same underlying writers capturing both of them. This also has the nice property of ensuring that multiple writers that capture both stdout and stderr will always see the results in the same order. Change-Id: Ib2b15092d3bd9d1566d98487965336c1d1c67aca
This repository contains general purpose libraries used by the Vanadium project. TEST