/// <summary> /// This method gets called to set options for the process /// </summary> /// <param name="processOptions">A <see cref="ProcessOptions"/> object, that contains the options for the process</param> public abstract void SetProcessOptions(ProcessOptions processOptions);
internal void SetProcessRunnerOptions(ProcessOptions processOptions) { processOptions.LogStandardOutput = LogStandardOutput; processOptions.LogStandardError = LogStandardError; SetProcessOptions(processOptions); }
/// <summary> /// Runs an executable file, as specified in <paramref name="options"/> /// </summary> /// <param name="options">Specifies what to run</param> /// <returns>The result of running the executable file</returns> public static ProcessResult Run(ProcessOptions options) { return((new Process(options)).Run()); }