void OnErrorOutput(object sender, DataReceivedEventArgs e) { if (!String.IsNullOrEmpty(e.Data)) { ToolDebug.Log("{0}: ", StartInfo.FileName, e.Data); } ErrorOutput.AppendFormat("{0}\r", e.Data); }