code: private static List<String> getSimpleProcess(String processPath, Map<String, String> prms)
      {
          List<String> res = new ArrayList<>(10);
  
          // Process itself
          res.add(processPath);
  
          // Optional parameters - keys are just indices to sort the values.
          if (prms.isEmpty())
          {
              return res;
          }
  
          List<String> keys = new ArrayList<>(prms.keySet());
          Collections.sort(keys, prmComparator);
          for (String p : keys)
          {
              if (!prms.get(p).trim().isEmpty())
              {
                  res.add(prms.get(p).trim());
              }
          }
  
          // Done
          return res;
      }
docs: The most common case: start a process, no need for a shell.
  
  @param ji
  @return