Re: [exec] Executed command can't open file argument

2018-05-03 Thread sebb
On 3 May 2018 at 22:35, Mark Trolley wrote: > On Thu, May 3, 2018 at 4:34 PM, sebb wrote: >> On 3 May 2018 at 17:18, Mark Trolley 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

Re: [exec] Executed command can't open file argument

2018-05-03 Thread Mark Trolley
On Thu, May 3, 2018 at 4:34 PM, sebb wrote: > On 3 May 2018 at 17:18, Mark Trolley 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

Re: [exec] Executed command can't open file argument

2018-05-03 Thread Martin Gainty
From: Mark Trolley Sent: Thursday, May 3, 2018 11:30 AM To: Martin Gainty Subject: Re: [exec] Executed command can't open file argument You're absolutely right in that it was the spaces in the filename. If I rename the file without spaces it works correctly. By the way I am running this

Re: [exec] Executed command can't open file argument

2018-05-03 Thread sebb
On 3 May 2018 at 17:18, Mark Trolley wrote: > I'm not sure how to respond to my own thread so I am hoping sending a > reply to my own sent message will do it. > > I experimented and discovered the problem is in the spaces in the > filename argument. If the file is renamed to not have spaces the >

Re: [exec] Executed command can't open file argument

2018-05-03 Thread Mark Trolley
I'm not sure how to respond to my own thread so I am hoping sending a reply to my own sent message will do it. I experimented and discovered the problem is in the spaces in the filename argument. If the file is renamed to not have spaces the execution succeeds. However, this doesn't work for my us

Re: [exec] Executed command can't open file argument

2018-05-02 Thread Guang Chao
On Wed, May 2, 2018 at 3:23 AM, Mark Trolley wrote: > (Sorry if this message appears twice. I sent it once before subscribing and > haven't seen it appear in the archives so I assume it wasn't accepted.) > > I’m trying to use Apache Commons Exec to run the AtomicParsley tagging > program, but exe

[exec] Executed command can't open file argument

2018-05-01 Thread Mark Trolley
(Sorry if this message appears twice. I sent it once before subscribing and haven't seen it appear in the archives so I assume it wasn't accepted.) I’m trying to use Apache Commons Exec to run the AtomicParsley tagging program, but execution fails with an error that the input file doesn’t exist. I