/**
  * Returns string representation of this command line.<br>
  * Warning: resulting string is not OS-dependent - <b>do not</b> use it for executing this command
  * line.
  *
  * @param exeName use this executable name instead of given by {@link #setExePath(String)}
  * @return single-string representation of this command line.
  */
 public String getCommandLineString(@Nullable final String exeName) {
   final List<String> commands = new ArrayList<String>();
   if (exeName != null) {
     commands.add(exeName);
   } else if (myExePath != null) {
     commands.add(myExePath);
   } else {
     commands.add("<null>");
   }
   commands.addAll(myProgramParams.getList());
   return ParametersList.join(commands);
 }