|
|
|
Upon further examination, the previous version did not quote the arguments either (in this case they are not necessary).
The problem is still in the use of addArgLine though. I believe the correct code would be: for (Property each : properties) { String str = String.format("/property:%s=%s", each.getName(), each.getValue()); addArgValue(str); } Each property should be an individual argument. Let ProcessBuilder handle double-quoting if necessary (e.g. if name or value contain whitespace). |
You are right. We intended to fix issue
QB-2695and caused this error. Thank you for pointing this out. Will fix in next patch release.