private void DataReceived_Error(object sender, DataReceivedEventArgs e) { if (!string.IsNullOrEmpty(e.Data)) { StdOut?.Invoke(this, e.Data.Trim()); } }
private void DataReceived(object sender, DataReceivedEventArgs e) { Console.WriteLine(e.Data); if (!string.IsNullOrEmpty(e.Data)) { StdOut?.Invoke(this, e.Data.Trim()); } }