new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Helm.java
private static boolean exec(String command) {
    getLogger().info("Running command - \n" + command);
    try {
      ExecResult result = ExecCommand.exec(command, true);
      if (result.exitValue() != 0) {
        getLogger().info("Command failed with errors " + result.stderr() + "\n" + result.stdout());
        return false;
      }
    } catch (Exception e) {
      getLogger().info("Got exception, command failed with errors " + e.getMessage());
      return false;
    }
    return true;
  }
/**
   * Executes the given command.
   * @param command the command to execute
   * @return true on success, false otherwise
   */
Executes the given command.
@param command the command to execute
@return true on success, false otherwise
Executes the given command . @param command the command to execute @return true on success false otherwise
private static boolean exec(String command) {
    getLogger().info("Running command - \n" + command);
    try {
      ExecResult result = ExecCommand.exec(command, true);
      if (result.exitValue() != 0) {
        getLogger().info("Command failed with errors " + result.stderr() + "\n" + result.stdout());
        return false;
      }
    } catch (Exception e) {
      getLogger().info("Got exception, command failed with errors " + e.getMessage());
      return false;
    }
    return true;
  }
private static boolean exec ( String command ) { getLogger ( ) . info ( "Running command - \n" + command ) ; try { ExecResult result = ExecCommand . exec ( command , true ) ; if ( result . exitValue ( ) != 0 ) { getLogger ( ) . info ( "Command failed with errors " + result . stderr ( ) + "\n" + result . stdout ( ) ) ; return false ; } } catch ( Exception e ) { getLogger ( ) . info ( "Got exception, command failed with errors " + e . getMessage ( ) ) ; return false ; } return true ; }
Executes the given command.
Executes the given command .