protected void launch_OutputReceived(object sendingProcess, EventArgsForCommand e) { var data = e.OutputData; Log.InfoFormat("Executing {0} - {1}", GetTaskName(), data); Log.Debug(data); }
private void Process_OutputDataReceived(object sendingProcess, DataReceivedEventArgs outLine) { if (outLine.Data == null) return; else { if (OutputReceived != null) { var e = new EventArgsForCommand(); e.OutputData = outLine.Data; OutputReceived(this, e); } } }
private void Process_OutputDataReceived(object sendingProcess, DataReceivedEventArgs outLine) { if (outLine.Data == null) { return; } else { if (OutputReceived != null) { var e = new EventArgsForCommand(); e.OutputData = outLine.Data; OutputReceived(this, e); } } }