public int getExitCode() {
      return exitCode;
    }
Run a command

@param args A String[] of the command and its arguments
@return Result
@throws IOException
@throws InterruptedException
ambari-server/src/main/java/org/apache/ambari/server/utils/ShellCommandUtil.java