Exactly right, well said. None of these solutions work in this case for the reasons you outlined.
It will just as easily get around it by running it as a bash command or any number of ways.