On Thu, May 3, 2018 at 4:34 PM, sebb <seb...@gmail.com> wrote: > On 3 May 2018 at 17:18, Mark Trolley <marktrol...@gmail.com> wrote: > It may be that quotes are being added to the parameter - I assume the > file name does not have quotes. > > Quoting is necessary for protecting spaces on a shell command-line, > but not when the parameters are being passed directly to a program as > separate parameters. > This lead me to the solution, I had to use addArgument with handleQuoting set to false and it started working. Thanks everyone for your help. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org