Inheritance: IDisposable
        protected static ProcessHelper.ProcessExecutionResult ExecuteProcessObject(StandardProcess process)
        {
            using (StringProcessListener listener = new StringProcessListener())
            {
                ProcessHelper.ProcessExecutionResult result = new ProcessHelper.ProcessExecutionResult();
                process.Listeners.Add(listener);
                process.RedirectOutput = true;

                process.Start();
                process.WaitForExit();

                result.StandardError = listener.ErrorOutput;
                result.StandardOutput = listener.Output;

                return result;
            }
        }
 public static ProcessHelper.ProcessExecutionResult ExecuteProcess(string workingDirectory, string executable, List<string> arguments)
 {
     using (StandardProcess process = new StandardProcess(executable, workingDirectory, arguments))
     {
         return ExecuteProcessObject(process);
     }
 }