Interface CommandHandler

    • 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
      • runCommandAndGetOutput

        String runCommandAndGetOutput​(String command,
                                      boolean showStdout,
                                      String workingDirectory)
                               throws com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException
        Throws:
        com.microsoft.azure.toolkit.lib.common.exception.AzureExecutionException