C# Класс ZocBuild.Database.ExternalProcess

An object that can start an external process and read its output.
Наследование: IExternalProcess
Показать файл Открыть проект

Открытые методы

Метод Описание
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