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

Re: [Condor-users] Spaces in filename



Sara,

What version of Condor are you using? I would have expected the following to work in Condor 7.x:

arguments = "'/file/path/file1 name.exe' '/file/path/file2name.ext'"

i.e. double quotes around the whole argument string and single quotes around each argument.

--Dan

On 6/24/11 1:49 PM, Sara Rolfe wrote:
Hello, I would like to submit a job where the "Arguments" field contains a filename with a space, such as:

Arguments = /file/path/file1 name.ext /file/path/file2name.ext

I have tried many combinations of double quotes, single quotes, escaped quotes around /file/path/file1 name.ext, and escaping the space, but still get errors when I submit. I'm not able to modify this filename to remove the space.

A similar question was answered here:

https://www-auth.cs.wisc.edu/lists/condor-users/2006-October/msg00097.shtml

The solution was to use double quotes, add a '+' at the start of the line to bypass error checking, and change the field, in this case "output" to the actual job classad name "out". I tried double quotes with the '+', but I have not been able to find the actual classad name for "Arguments". Any help on this or other solutions would be appreciated.

Thanks,
Sara
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/