Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }