C# Класс SourceControl.ProcessReader

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ProcessReader ( LogOptions logLevel ) : System
RunExecutable ( string exeToRun, bool eatFirstLine, string commandLine ) : string

Runs an exe, returns the output in a string. If error happens, prints stderr and returns null.

Приватные методы

Метод Описание
ErrorHandler ( object sendingProcess, DataReceivedEventArgs dataReceivedEventArgs ) : void
OutputHandler ( object sendingProcess, DataReceivedEventArgs dataReceivedEventArgs ) : void

Описание методов

ProcessReader() публичный Метод

public ProcessReader ( LogOptions logLevel ) : System
logLevel LogOptions
Результат System

RunExecutable() публичный Метод

Runs an exe, returns the output in a string. If error happens, prints stderr and returns null.
public RunExecutable ( string exeToRun, bool eatFirstLine, string commandLine ) : string
exeToRun string
eatFirstLine bool
commandLine string Command line to execute.
Результат string