mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 23:42:56 +00:00
capture adb shell
stdout
This commit is contained in:
parent
02e95e508d
commit
91bfe3f55b
@ -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…
Reference in New Issue
Block a user