메소드 | 설명 | |
---|---|---|
FindExecutable ( string executable ) : string |
Locate an executable in the system path.
|
|
GetExecutableExtension ( ) : string |
Get an executable extension.
|
|
Run ( string toolPath, string arguments, string workingDirectory = null, string>.Dictionary |
Execute a command line tool.
|
|
RunAsync ( string toolPath, string arguments, CompletionHandler completionDelegate, string workingDirectory = null, string>.Dictionary |
Asynchronously execute a command line tool, calling the specified delegate on completion.
|
|
SplitLines ( string multilineString ) : string[] |
Split a string into lines using newline, carriage return or a combination of both.
|
public static FindExecutable ( string executable ) : string | ||
executable | string | |
리턴 | string |
public static Run ( string toolPath, string arguments, string workingDirectory = null, string>.Dictionary |
||
toolPath | string | Tool to execute. |
arguments | string | String to pass to the tools' command line. |
workingDirectory | string | Directory to execute the tool from. |
envVars | string>.Dictionary | Additional environment variables to set for the command. |
ioHandler | IOHandler | Allows a caller to provide interactive input and also handle /// both output and error streams from a single delegate. |
리턴 | System.Result |
public static RunAsync ( string toolPath, string arguments, CompletionHandler completionDelegate, string workingDirectory = null, string>.Dictionary |
||
toolPath | string | Tool to execute. |
arguments | string | String to pass to the tools' command line. |
completionDelegate | CompletionHandler | Called when the tool completes. |
workingDirectory | string | Directory to execute the tool from. |
envVars | string>.Dictionary | Additional environment variables to set for the command. |
ioHandler | IOHandler | Allows a caller to provide interactive input and also handle /// both output and error streams from a single delegate. |
리턴 | void |
public static SplitLines ( string multilineString ) : string[] | ||
multilineString | string | String to split into lines |
리턴 | string[] |