C# 클래스 ZocBuild.Database.ExternalProcess

An object that can start an external process and read its output.
상속: IExternalProcess
파일 보기 프로젝트 열기: Zocdoc/ZocBuild.Database

공개 메소드들

메소드 설명
ExecuteAsync ( string arguments, string workingDirectory ) : Task

Executes the external process and returns the results from standard out.

ExternalProcess ( string executablePath ) : System

Constructs an external process object that can invoke the executable at the given path.

비공개 메소드들

메소드 설명
CreateProcess ( string arguments, string workingDirectory ) : Process

메소드 상세

ExecuteAsync() 공개 메소드

Executes the external process and returns the results from standard out.
Thrown if the process executable doesn't exist or is inaccessible. Thrown if a non-zero exit code is returned from the process.
public ExecuteAsync ( string arguments, string workingDirectory ) : Task
arguments string The arguments to supply to the process.
workingDirectory string The path to the working directory in which the process should execute.
리턴 Task

ExternalProcess() 공개 메소드

Constructs an external process object that can invoke the executable at the given path.
public ExternalProcess ( string executablePath ) : System
executablePath string
리턴 System