Skip to content
Permalink
Browse files

GSDumpGUI: Enable stderr redirection.

Also some tabs to spaces.
  • Loading branch information...
KrossX authored and lightningterror committed Jul 29, 2019
1 parent 9dd92c1 commit 73369db6c20e4f7d7152495225e503ae7be1e194
Showing with 4 additions and 3 deletions.
  1. +2 −2 tools/GSDumpGUI/Forms/frmMain.Designer.cs
  2. +2 −1 tools/GSDumpGUI/Forms/frmMain.cs

Some generated files are not rendered by default. Learn more.

@@ -393,12 +393,13 @@ private void ExecuteFunction(String Function)
ProcessStartInfo psi = new ProcessStartInfo();
psi.UseShellExecute = false;
psi.RedirectStandardOutput = true;
psi.RedirectStandardError = false;
psi.RedirectStandardError = true;
psi.CreateNoWindow = true;
psi.FileName = Process.GetCurrentProcess().ProcessName;
psi.Arguments = "\"" + dllPath + "\"" + " \"" + dumpPath + "\"" + " \"" + Function + "\"" + " " + SelectedRenderer + " " + port;
Process p = Process.Start(psi);
p.OutputDataReceived += new DataReceivedEventHandler(p_OutputDataReceived);
p.ErrorDataReceived += new DataReceivedEventHandler(p_OutputDataReceived);
p.BeginOutputReadLine();
p.Exited += new EventHandler(p_Exited);
Processes.Add(p);

0 comments on commit 73369db

Please sign in to comment.
You can’t perform that action at this time.