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

Re: [Condor-users] DAGman $RETURN replacement



On Fri, May 11, 2012 at 01:57:14PM -0700, Kristian Kvilekval wrote:
> condor version: 7.7.5
> system: debian 
> 
> 
> I have a DAG file something like the following
> 
> JOB 546927  ./546927.cmd
> SCRIPT POST 546927 546927_launch.py job_return=$RETURN command=finish
> 
> However, it is substituted if called as follows:
> 
> JOB 546927  ./546927.cmd
> SCRIPT POST 546927 546927_launch.py job_return $RETURN command=finish
> 
> 
> We tend to pass in named arguments such as in the first example.
> In this case DAGman will not substitute $RETURN.. it must be separated
> from any other arguments 
> 
> Is this a bug? or are the variable substitution really limited to space
> separated expressions? 

Yes, the variable substitution is limited to space separated expressions. 

> 
> Thanks,
> Kris