public void Process_OutputDataReceived(object sender, DataReceivedEventArgs e) { if (string.IsNullOrEmpty(e.Data)) { return; } txtConsoleOutput.AppendText(e.Data + "\n"); }