From 374eb6ff2a29f1f3e82d50987a0b49bb6ea5765f Mon Sep 17 00:00:00 2001 From: w1nst0n Date: Sat, 28 Aug 2021 19:36:39 +0200 Subject: [PATCH] Do not open a cmd windows when using a shell command --- src/core/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sync.rs b/src/core/sync.rs index 3fa624a..44389d8 100644 --- a/src/core/sync.rs +++ b/src/core/sync.rs @@ -10,7 +10,7 @@ pub fn adb_shell_command(args: &str) -> Result { #[cfg(target_os = "windows")] let output = Command::new("./ressources/windows/adb/adb") .args(&["shell", args]) - .creation_flags(0x08000000) + .creation_flags(0x08000000) // do not open a cmd window .output() .expect("adb command failed to start. Do you have ADB installed?");