On Thu, May 3, 2018 at 4:34 PM, sebb <[email protected]> wrote: > On 3 May 2018 at 17:18, Mark Trolley <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
