[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] unmatched quotes error when submitting bash jobs



On Mon, 25 Feb 2013, Amin Farmahini wrote:

I wrote a conder script for a job and use condor_submit to submit this job.
Below is my script:

Arguments=" -c "" command_to_run -d -f"" "
...

This is simply bash complaining about unmatched double quotes. But double
quotes look fine to me. I don't know what the problem is. It seems like it
is a condor problem. Any ideas?

I just ran this with a script that echoes the arguments it's passed, and I get this for the arguments:

  <-c> <"> <command_to_run> <-d> <-f">

(each individual argument enclosed in angle brackets).

You probably want something like this:

  Arguments = "-c 'command_to_run -d -f'"

which produces these arguments:

  <-c> <command_to_run -d -f>

Kent Wenger
CHTC Team