capture adb shell
stdout
This commit is contained in:
parent
02e95e508d
commit
91bfe3f55b
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue