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

Re: [HTCondor-users] submit file double quoting issue



Yes, but the program takes in a string for --point. So it will return an error. It need to be double quoted.Â
x:\sub\tw.bat c:\data\program.plÂ-i c:\data\largedataset.dat --point="2014-01-01 01:00:00"


On Thu, Aug 27, 2015 at 11:49 AM, Krieger, Donald N. <kriegerd@xxxxxxxx> wrote:

Hi Rita â just a thought.

Have you tried enclosing the entire argument string in quotes without the escape characters?

 arguments = âc:\data\program.pl -i c:\data\largedataset.dat --point=2014-01-01 01:00:00"

Â

Â

Best regards,

Â

Don

Â

Signature0001

Don Krieger, Ph.D.

Department of Neurological Surgery

University of Pittsburgh

Â

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Rita
Sent: Thursday, August 27, 2015 11:36 AM
To: HTCondor-Users Mail List
Subject: [HTCondor-users] submit file double quoting issue

Â

I have a windows bat script (tw.bat) like this,

Â

@ECHO OFF

Â

perl %*

Â

Â

When I run my code manually on the windows server I run it like this

Â

x:\sub\tw.bat c:\data\program.pl -i c:\data\largedataset.dat --point="2014-01-01 01:00:00"

Â

works!

Â

Â

And my submit file is like this,

Universe = vanilla

executable = x:\sub\tw.bat

arguments = c:\data\program.pl -i c:\data\largedataset.dat --point=\"2014-01-01 01:00:00\"

queue

Â

it submits fine! But I get this error in my error file

The filename, directory name, or volume label syntax is incorrect.

Â

I have tried many variations but all seem to fail or have condor_submit complain about double quoting/escaping

Â

Any ideas?

Â

Â

Â

--

--- Get your facts first, then you can distort them as you please.--


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

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



--
--- Get your facts first, then you can distort them as you please.--