diff --git a/scripts/run_Processor.sh b/scripts/run_Processor.sh index 763daaf657755590ede46bbca514cf479938b9ad..9d9eb43c8b65aaa2bb7436c0e132abd752be3499 100755 --- a/scripts/run_Processor.sh +++ b/scripts/run_Processor.sh @@ -1,5 +1,7 @@ #!/bin/bash +original_args=("$@") + SHORT=p:h OPTS=$(getopt -a --options $SHORT -- "$@") echo $OPTS @@ -72,7 +74,7 @@ proc_path="$( dirname "$(readlink -f "$0" )" )" # run the processor with all arguments processor=${proc_path}/../coordinator/${processor_class} printf "processor is %s\n\n" "$processor" -python "${processor}" "$@" +python "${processor}" "${original_args[@]}" exit_code=$?; # deactivate conda environment