C# 클래스 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

상속: IProcessUtils
파일 보기 프로젝트 열기: jornfilho/.net-Dev-Utils

공개 메소드들

메소드 설명
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.

메소드 상세

ExecuteProcess() 공개 메소드

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.
리턴 bool