Skip to content

Make getProcString available on Builder

Compare
Choose a tag to compare
@fleipold fleipold released this 01 Feb 21:05
· 39 commits to master since this release

This makes getProcString which is currently only on ProcResult available on ProcBuilder.

Also, it fixes escaping for arguments. Now it is safer to paste the output of getProcString straight into the shell. Note that the escaping is really naïve and only works for whitespace and the delimiter character.

This fix introduces an incompatibility, because the ProcResult#getProcString now
uses single quotes for escaping arguments containing whitespace.