I’m not 100% sure, but I think the: executeCommandLine itself is the result for the error. If you compare for instance here:
In your script you have four “text strings” that you give.
If i’m a dumb robot I connect this to: “sudoshutdown-rnow” and for sure I would reply, hmm I don’t understand.