C# 클래스 SourceControl.ProcessReader

파일 보기 프로젝트 열기: daptiv/Malevich 1 사용 예제들

공개 메소드들

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