C# Class Twinspire.Command

Mostrar archivo Open project: twinspire/twinspire

Public Methods

Method Description
ExecuteConsoleCommand ( string command ) : string
GetCommandProcess ( string cmd, string workingDir = "" ) : Process

Private Methods

Method 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 method

public static ExecuteConsoleCommand ( string command ) : string
command string
return string

GetCommandProcess() public static method

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