메소드 | 설명 | |
---|---|---|
RunCmd ( this context, string commandLine, Action |
Runs cmd.exe with a command line and returns the process result value. The command line contains both the executable and its parameters.
|
|
RunCmdSuccessful ( this context, string commandLine ) : void |
Runs cmd.exe with a command line and throws an exception if the command exits with a result that is not 0. The command line contains both the executable and its parameters.
|
public static RunCmd ( this context, string commandLine, Action |
||
context | this | The cake context. |
commandLine | string | The command line to execute. |
output | Action |
Optional standard output lines collector. |
리턴 | int |
public static RunCmdSuccessful ( this context, string commandLine ) : void | ||
context | this | The cake context. |
commandLine | string | The command line to execute. |
리턴 | void |