Example #1
0
        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);
         }
     }
 }
Example #3
0
 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);
         }
     }
 }
 protected void launch_OutputReceived(object sendingProcess, EventArgsForCommand e)
 {
     var data = e.OutputData;
     Log.InfoFormat("Executing {0} - {1}", GetTaskName(), data);
     Log.Debug(data);
 }