Ejemplo n.º 1
0
 public static void StartSilent(this Process p, LoggerForm aApp)
 {
     logger = aApp;
     p.StartInfo.RedirectStandardOutput = true;
     p.StartInfo.RedirectStandardError  = true;
     p.OutputDataReceived       += P_OutputDataReceived;
     p.ErrorDataReceived        += P_OutputDataReceived;
     p.StartInfo.UseShellExecute = false;
     p.StartInfo.CreateNoWindow  = true;
     p.EnableRaisingEvents       = true;
     p.Start();
     p.BeginOutputReadLine();
     p.BeginErrorReadLine();
     p.WaitForExit();
 }
Ejemplo n.º 2
0
 public static void StartSilent(this Process p, LoggerForm aApp)
 {
     logger = aApp;
     p.StartInfo.RedirectStandardOutput = true;
     p.StartInfo.RedirectStandardError = true;
     p.OutputDataReceived += P_OutputDataReceived;
     p.ErrorDataReceived += P_OutputDataReceived;
     p.StartInfo.UseShellExecute = false;
     p.StartInfo.CreateNoWindow = true;
     p.EnableRaisingEvents = true;
     p.Start();
     p.BeginOutputReadLine();
     p.BeginErrorReadLine();
     p.WaitForExit();
 }
 public CueDirectoryConverter(LoggerForm aApp)
 {
     app = aApp;
 }
Ejemplo n.º 4
0
 public CueDirectoryConverter(LoggerForm aApp)
 {
     app = aApp;
 }