Absolutely, all basic possibilities I covered. Up to and including double quotes, escaping spaces and modifying the path so no spaces are in question. Shouldn't be this difficult for such a basic task.
I've altogether aborted spending more time attempting to get this to work and have instead found this macro way more intuitive and works as I'd expect it should have in the beginning.
Which btw is your macro and something you'd posted about 3 years ago.
Terminal window for working directory of Finder.kmmacros
Inserting my variables and any other content is a breeze.
The Execute Shell Script task is just way more work than reasonably required IMHO.
Pointing to a shell script, having it execute a few simple commands and output to the window should just work.
Also other small caveats to working with it such as writing pwd inside the text of the Script component yields the result in a visible window; but perform an ls on the next line and no window pops, no error no nothing.
I'd even tried the fully qualified path as was suggested in the other post with the ls command and still nothing. Threw in the towel on it.
The macro you created is a win/win for me.
Thanks