Add a way to split a string into multiple commands on ExternalProcessBuilder

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.2 M0, 3.2
    • Component/s: Plugins
    • None

          /**
           * Splits the given command string into arguments and adds them to the builder
           * @param commandString to split into multiple parts and add to the list of commands
           * @return builder
           * @since 3.2
           */
          public ExternalProcessBuilder commandFromString(@NotNull String commandString)
          {
              final String[] commands = Commandline.translateCommandline(commandString);
      
              if (commands != null && commands.length > 0)
              {
                  this.command.addAll(Arrays.asList(commands));
              }
      
              return this;
          }
      

            Assignee:
            Unassigned
            Reporter:
            James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: