C# Class SourceControl.ProcessReader

Afficher le fichier Open project: daptiv/Malevich Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ErrorHandler ( object sendingProcess, DataReceivedEventArgs dataReceivedEventArgs ) : void
OutputHandler ( object sendingProcess, DataReceivedEventArgs dataReceivedEventArgs ) : void

Method Details

ProcessReader() public méthode

public ProcessReader ( LogOptions logLevel ) : System
logLevel LogOptions
Résultat System

RunExecutable() public méthode

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.
Résultat string