Interface CommandHandler
-
- All Known Implementing Classes:
CommandHandlerImpl
public interface CommandHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringrunCommandAndGetOutput(String command, boolean showStdout, String workingDirectory)voidrunCommandWithReturnCodeCheck(String command, boolean showStdout, String workingDirectory, List<Long> validReturnCodes, String errorMessage)
-
-
-
Method Detail
-
runCommandWithReturnCodeCheck
void runCommandWithReturnCodeCheck(String command, boolean showStdout, String workingDirectory, List<Long> validReturnCodes, String errorMessage) throws com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
- Throws:
com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
-
-