c#private int ExecuteProcess(string uatPath, string arguments){ Process uatProcess = new Process(); uatProcess.StartInfo.FileName = "cmd.exe"; uatProcess.StartInfo.Arguments = "/c " + uatPath + " " + arguments; uatProcess.StartInfo.CreateNoWindow = false; uatProcess.StartInfo.UseShellExecute = false; uatProcess.Start(); uatProcess.WaitForExit(); return uatProcess.ExitCode}