code: public static String[] executorCommandArgs(
        Config config, Config runtime, Map<ExecutorPort, String> ports, String containerIndex) {
      List<String> args = new ArrayList<>();
      addExecutorTopologyArgs(args, config, runtime);
      addExecutorContainerArgs(args, ports, containerIndex);
  
      return args.toArray(new String[args.size()]);
    }
docs: Util method to get the arguments to the heron executor. This method creates the arguments
  without the container index, which is the first argument to the executor
  
  @param config The static Config
  @param runtime The runtime Config
  @param ports a map of ports to use where the key indicate the port type and the
  value is the port
  @param containerIndex The index of the current container
  @return String[] representing the arguments to start heron-executor