public static Result runCommand(List<String> args, Map<String, String> vars, InteractiveHandler interactiveHandler, boolean sudo)
    throws IOException, InterruptedException {
    return runCommand(args.toArray(new String[args.size()]), vars, interactiveHandler, sudo);
  }
@see #runCommand(String[], Map, InteractiveHandler, boolean)
ambari-server/src/main/java/org/apache/ambari/server/utils/ShellCommandUtil.java