diff --git a/app/HardwareControl.cs b/app/HardwareControl.cs index 16bed4ed..cf8d0d86 100644 --- a/app/HardwareControl.cs +++ b/app/HardwareControl.cs @@ -267,6 +267,7 @@ public static class HardwareControl if (_gpuControl.IsValid) { GpuControl = _gpuControl; + if (GpuControl.FullName.Contains("6850M")) AppConfig.Set("xgm_special", 1); Logger.WriteLine(GpuControl.FullName); return; } diff --git a/app/Input/InputDispatcher.cs b/app/Input/InputDispatcher.cs index 05df04ca..b7978b34 100644 --- a/app/Input/InputDispatcher.cs +++ b/app/Input/InputDispatcher.cs @@ -675,11 +675,14 @@ namespace GHelper.Input //string executable = command.Split(' ')[0]; //string arguments = command.Substring(executable.Length).Trim(); + ProcessStartInfo startInfo = new ProcessStartInfo("cmd", "/C " + command); + + startInfo.RedirectStandardOutput = true; + startInfo.RedirectStandardError = true; + startInfo.UseShellExecute = false; + startInfo.CreateNoWindow = true; - ProcessStartInfo startInfo = new ProcessStartInfo(); - startInfo.UseShellExecute = true; startInfo.WorkingDirectory = Environment.CurrentDirectory; - startInfo.FileName = command; //startInfo.Arguments = arguments; Process proc = Process.Start(startInfo); }