Use callbacks when adding commands to ProcessMonitor

This allows to specify custom handling of exited subprocesses, which
will be needed when running the e2e test from the launcher.

Bug: 118688323
Test: build & run locally

Change-Id: If5d1a73119651eefbbcd66aea769da8a7649660f
3 files changed
tree: 0764a47b0d3160d30db07189aa57af2764092d0b
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS