Closed lvanengelen closed 4 years ago
Why did you close this PR?
I had some trouble with GutHubs interface while rebasing on top of latest master. I thought I left it in Open state. Will look into it.
Yeah, this one was closed by accident and I didn't find how to reopen it. I rebased properly on #7.
The current
IOExec
has some problems handling quotes and spaces. This PR improves the situation by makingIOExec
just a small wrapper around Java'sProcessBuilder
.To keep the convenience of passing a string with
%s
placeholders, we introduce a new operatorIOExecTemplate
which takes a template string for the command. This template string is then split into words on which%s
expansion takes place. This allows for spaces in the expanded strings. Note that for the sake of simplicity we don't handle%s