C# Class Twinspire.Command

Afficher le fichier Open project: twinspire/twinspire

Méthodes publiques

Méthode Description
ExecuteConsoleCommand ( string command ) : string
GetCommandProcess ( string cmd, string workingDir = "" ) : Process

Private Methods

Méthode Description
CheckPath ( string &path ) : void
ExecuteSubCommand ( string flag, string args, string &result ) : void
GetFlagResult ( string flag ) : string
HasFlag ( string result, string flag ) : bool
SetCommandFlag ( string flag, string &result ) : void

Method Details

ExecuteConsoleCommand() public static méthode

public static ExecuteConsoleCommand ( string command ) : string
command string
Résultat string

GetCommandProcess() public static méthode

public static GetCommandProcess ( string cmd, string workingDir = "" ) : Process
cmd string
workingDir string
Résultat System.Diagnostics.Process