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
|
@ -95,7 +95,7 @@
|
|||
this.txtGSDXDirectory.Size = new System.Drawing.Size(243, 20);
|
||||
this.txtGSDXDirectory.TabIndex = 0;
|
||||
this.txtGSDXDirectory.TabStop = false;
|
||||
this.txtGSDXDirectory.Enter += new System.EventHandler(this.txtGSDXDirectory_Enter);
|
||||
this.txtGSDXDirectory.Enter += new System.EventHandler(this.txtGSDXDirectory_Enter);
|
||||
this.txtGSDXDirectory.Leave += new System.EventHandler(this.txtGSDXDirectory_Leave);
|
||||
//
|
||||
// lblDirectory
|
||||
|
@ -145,7 +145,7 @@
|
|||
this.txtDumpsDirectory.Size = new System.Drawing.Size(243, 20);
|
||||
this.txtDumpsDirectory.TabIndex = 3;
|
||||
this.txtDumpsDirectory.TabStop = false;
|
||||
this.txtDumpsDirectory.Enter += new System.EventHandler(this.txtDumpsDirectory_Enter);
|
||||
this.txtDumpsDirectory.Enter += new System.EventHandler(this.txtDumpsDirectory_Enter);
|
||||
this.txtDumpsDirectory.Leave += new System.EventHandler(this.txtDumpsDirectory_Leave);
|
||||
//
|
||||
// lstGSDX
|
||||
|
|
|
@ -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