code: public CommandLineBuilder append(final String segment) {
          if (segment != null && !segment.isEmpty()) {
              return append(new String[]{segment});
          }
          return this;
      }
docs: Appends a string to command line.
  
  @param segment string to append
  @return CommandLineBuilder for fluent api