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

Re: [Condor-users] weird behavior -- commas and quotes in condor_submitarguments

I get the following outputs from your tests:

"\"myfunction('arg1' 'arg2')\""

That was done as follows:

submit node (also central node) 6.8.1 Linux
execute node 0 : 6.8.5  
windows node 1 : 6.8.5

Looks like a problem in 6.8.5, I don't know about 6.9 series.

I'll have a think if I can get something that works for 6.8


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx on behalf of Matthijs van der Meer
Sent: Sat 11/08/2007 20:04
To: condor-users@xxxxxxxxxxx
Subject: [Condor-users] weird behavior -- commas and quotes in condor_submitarguments
Help! I'd like to run a condor job with arguments that contain double 
quotes, single quotes, and commas, but condor_submit is always able to 
mangle my input beyond recognition. As a testbed, I run a batch file 
that just echo's its input arguments, like so:

echo %1 %2 %3 ...

When I then submit the following:

executable = echo_inputs.bat
universe = vanilla
arguments = """myfunction('''arg1''','''arg2''')"""

I'm using the new style arguments formatting: the intention is to end up 


HOWEVER, what actually gets run (the output of the echo batch file) is

"\"myfunction('arg1' 'arg2')\""

(Note disappearance of comma, backslash insertion, and lack of double 
double quote deletion.) As I understand it, this is not at all in 
agreement with the condor_submit documentation at 

Can someone shed light on this? I'm using 6.8.5 with all Windows machines.


- Matthijs
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: