Exemple #1
0
 /// <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);
Exemple #2
0
 internal void SetProcessRunnerOptions(ProcessOptions processOptions)
 {
     processOptions.LogStandardOutput = LogStandardOutput;
     processOptions.LogStandardError  = LogStandardError;
     SetProcessOptions(processOptions);
 }
Exemple #3
0
 /// <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());
 }