UI Re-arrangements

This commit is contained in:
Serge
2023-07-24 14:26:35 +02:00
parent 99296ebb1c
commit ef6de6ad2a
9 changed files with 140 additions and 95 deletions

View File

@@ -545,9 +545,16 @@ namespace GHelper.Input
try
{
string executable = command.Split(' ')[0];
string arguments = command.Substring(executable.Length).Trim();
Process proc = Process.Start(executable, arguments);
//string executable = command.Split(' ')[0];
//string arguments = command.Substring(executable.Length).Trim();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.UseShellExecute = true;
startInfo.WorkingDirectory = Environment.CurrentDirectory;
startInfo.FileName = command;
//startInfo.Arguments = arguments;
Process proc = Process.Start(startInfo);
}
catch
{