So if I run the the following example (keeping the #@String param1 line at script.groovy):
ImageJ-win64.exe --headless --ij2 --console --run script.groovy "param1='value1'"
the param1 is available through the script.groovy code (as expected..)
But if i run it again without the parameters
ImageJ-win64.exe --headless --ij2 --console --run script.groovy
The param1 (which was not passed this time..) will still be available with the same value?!?!
Is this behavior expected?!