public static Result runCommand(String[] args) throws IOException,
      InterruptedException {
    return runCommand(args, null);
  }
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