capture adb shell stdout

This commit is contained in:
Andy Russell 2017-08-22 10:14:43 -05:00
parent 02e95e508d
commit 91bfe3f55b
No known key found for this signature in database
GPG Key ID: 78B13E28497AF2DF

View File

@ -515,6 +515,8 @@ actual:\n\
debug!("adb arg: {}", adb_arg);
let mut adb = Command::new(adb_path)
.args(&["shell", &adb_arg])
.stdout(Stdio::piped())
.stderr(Stdio::inherit())
.spawn()
.expect(&format!("failed to exec `{:?}`", adb_path));