public static ProcessWrapper StartProcess(ProcessStartInfo startInfo, TextWriter outWriter, TextWriter errorWriter, EventHandler exited, StringDictionary environmentOverride) { ProcessEventHandler wout = OutWriter.GetWriteHandler(outWriter); ProcessEventHandler werr = OutWriter.GetWriteHandler(errorWriter); return(StartProcess(startInfo, wout, werr, exited, environmentOverride)); }
public static 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)); }