commit | 7e35fb328869dfb196a9604f0de63619850b367b | [log] [tgz] |
---|---|---|
author | Cody Schuffelen <schuffelen@google.com> | Thu Oct 03 16:28:35 2019 -0700 |
committer | Cody Schuffelen <schuffelen@google.com> | Thu Oct 03 19:01:38 2019 -0700 |
tree | a6c31530d7c1d13173d88e5a9649e60415320b79 | |
parent | 3b306dd4fce7648a13ca5205a187a280699caa84 [diff] |
execute_capture_output -> RunWithManagedStdio RunWithManagedStdio is a more general function that can be applied to any cvd::Command, which allows using the full set of configuration options that cvd::Command supports. The function supports writing a string to the subprocess stdin, reading the subprocess stdout to a string, and/or reading the subprocess stderr to a string. Test: Run launch_cvd --help, fetch_cvd Bug: 141889929 Change-Id: I2845add9d22c21e6853651f1ea93f011e6c434fe