private void FastAdbCmd(string arguments) { ShellUtils.DoShell(new ShellArgs() { FileName = GetAdbExePath(), Arguments = arguments, IgnoreOutput = true, }); }
private string AdbCmd(string arguments) { var result = ShellUtils.DoShell(new ShellArgs() { FileName = GetAdbExePath(), Arguments = arguments, IgnoreOutput = false, }); Logger.GetInstance().Info("AdbCmd", AheadWithName($"arguments = {arguments}")); var output = result.GetOutput(); Logger.GetInstance().Info("AdbCmd", AheadWithName($"output = {output.LimitLength(40)}")); result.Dispose(); return(output); }