我为一个工作写了一个 conder 脚本并condor_submit
用来提交这个工作。下面是我的脚本:
Executable=/bin/bash
Arguments=" -c "" command_to_run -d -f"" "
initialdir= /path/
output=/path/out
error=/path/err
log=/path/log
universe = vanilla
Getenv = true
Queue
如上所示,可执行文件是bash
,我-c
用来将命令作为字符串传递给 bash。err
作业提交正常,但我在输出文件中收到以下错误消息:
command_to_run: -c: line 0: unexpected EOF while looking for matching `"'
command_to_run: -c: line 1: syntax error: unexpected end of file
这只是 bash 抱怨不匹配的双引号。但是双引号对我来说看起来不错。我不知道问题是什么。这似乎是一个秃鹰问题。有任何想法吗?