From 340ffcfa7ed558c26d2c1e55136c9339f6235aec Mon Sep 17 00:00:00 2001 From: mjsoftware <1406993111@qq.com> Date: Thu, 9 Jan 2025 15:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AdbTools/CmdExecutor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdbTools/CmdExecutor.cs b/AdbTools/CmdExecutor.cs index d61ec37..0ad2783 100644 --- a/AdbTools/CmdExecutor.cs +++ b/AdbTools/CmdExecutor.cs @@ -37,7 +37,7 @@ namespace AdbTools process.StartInfo.FileName = "cmd.exe"; process.StartInfo.UseShellExecute = true; process.StartInfo.CreateNoWindow = false; - process.StartInfo.Arguments = $"/c {command}"; + process.StartInfo.Arguments = $"/c \"{command}\""; process.Start(); process.WaitForExit();