C# Class DevUtils.Proccess.ProcessUtils

The ProcessUtils type provides an implementation of the IProcessUtils interface that provides utility methods for managing processes.

Base project reference: https://github.com/cjaehnen/OpenLib.Utils

Inheritance: IProcessUtils
Afficher le fichier Open project: jornfilho/.net-Dev-Utils

Méthodes publiques

Méthode Description
ExecuteProcess ( ProcessStartInfo processInfo, string &output, string &errors ) : bool

Executes the process defined in the ProcessStartInfo object and outputs the standard output and errors, if any, into the specified output parameters, respectively.

Method Details

ExecuteProcess() public méthode

Executes the process defined in the ProcessStartInfo object and outputs the standard output and errors, if any, into the specified output parameters, respectively.
public ExecuteProcess ( ProcessStartInfo processInfo, string &output, string &errors ) : bool
processInfo System.Diagnostics.ProcessStartInfo A object containing information to start the process.
output string An output parameter to contain the standard output of the process.
errors string An output parameter to contain the standard errors, if any, of the process.
Résultat bool