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

Re: [HTCondor-users] String composite argument



Dear Cole,

Thanks that worked.

Dear John,

The fact that putting a sub-string into the arguments makes the dry-run output useless
maybe be worth a documentation update, because from there that is the first thing
I thought might help me debugging the problem.

Best,
Michele

On 6 Dec 2022, at 14:30, Michele Peresano <michele.peresano@xxxxxxxxxx> wrote:

Dear Cole,

I tried making a specific test and it didnât work:

my test.sub

TEST_ARG = ''second argument''

executable = test.sh
arguments = first_argument $(TEST_ARG)
log                     = test.log
output                  = test.out
error                   = test.err
should_transfer_files   = Yes
when_to_transfer_output = ON_EXIT
queue

my executable test.sh

#!/usr/bin/env bash
echo "argument 1 = $1"
echo "argument 2 = $2â

Arguments from Dry run

Args="first_argument ''second argument''"

The resulting test.out,

argument 1 = first_argument
argument 2 = ''second