/
Exception, when using ProcessBuilder [5.3.0-B1]

Exception, when using ProcessBuilder [5.3.0-B1]

In INP-1484 - Getting issue details... STATUS  task the "ProcessBuilder" was added. In short that component allows to run processes. Due incomplete testing it's impossible to use because the following exception is thrown on each usage attempt:

Use setCommand() or setExecutable(), not both.

Also the "reset" method seems to be non-fluent.

Solution

  1. initialize the command and executable properties of ProcessBuilder class with NULL rather than an empty string
  2. make "reset" method fluent

Related Tasks

INP-1489 - Getting issue details... STATUS