public ProcessWrapper StartProcess(ProcessStartInfo startInfo, TextWriter outWriter, TextWriter errorWriter, EventHandler exited) { ProcessEventHandler wout = OutWriter.GetWriteHandler(outWriter); ProcessEventHandler werr = OutWriter.GetWriteHandler(errorWriter); return(StartProcess(startInfo, wout, werr, exited)); }
public ProcessWrapper StartProcess(string command, string arguments, string workingDirectory, TextWriter outWriter, TextWriter errorWriter, EventHandler exited, bool redirectStandardInput) { ProcessEventHandler wout = OutWriter.GetWriteHandler(outWriter); ProcessEventHandler werr = OutWriter.GetWriteHandler(errorWriter); return(StartProcess(command, arguments, workingDirectory, wout, werr, exited, redirectStandardInput)); }