process1.StartInfo.FileName = Settings.Default.process1; process1.StartInfo.Verb = "process1"; process1.StartInfo.CreateNoWindow = true; process1.StartInfo.UseShellExecute = false; process1.StartInfo.RedirectStandardOutput = true; process1.StartInfo.RedirectStandardError = true; process1.Start(); process1.OutputDataReceived += new DataReceivedEventHandler(process1_OutputDataReceived); process1.ErrorDataReceived += new DataReceivedEventHandler(process1_ErrorDataReceived); process1.BeginErrorReadLine(); process1.BeginOutputReadLine(); process2.StartInfo.FileName = Settings.Default.process2; process2.StartInfo.Verb = "process2"; process2.StartInfo.CreateNoWindow = true; process2.StartInfo.UseShellExecute = false; process2.StartInfo.RedirectStandardOutput = true; process2.StartInfo.RedirectStandardError = true; process2.Start(); process2.OutputDataReceived += new DataReceivedEventHandler(process2_OutputDataReceived); process2.ErrorDataReceived += new DataReceivedEventHandler(process2_ErrorDataReceived); process2.BeginErrorReadLine(); process2.BeginOutputReadLine();