Add an execute_capture_output function.

This is to run a command and return its output on stdout and stderr as a
string.

Test: N/A
Bug: 137304531
Change-Id: I382f480504753cc0603d29f56919115f9a9c9b72
2 files changed
tree: 83e88e17acdbd24070654da31d7f7ac1d5257bc5
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS
  9. TEST_MAPPING