mirror of https://github.com/PCSX2/pcsx2.git
GSDumpGUI: Enable stderr redirection.
Also some tabs to spaces.
This commit is contained in:
parent
9dd92c1cb5
commit
73369db6c2
|
@ -393,12 +393,13 @@ namespace GSDumpGUI
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue