Closed notpeelz closed 1 year ago
using "$EXEC"
would treat the whole string including any potential arguments as a name of an executable.
Oh I didn't realize they could contain arguments. I'll remove that commit.
2382e587aca4a188ff3e47c9b22bfb381ff3adab should solve this. Thank you.
As I was trying out the script, I noticed a couple situations in which the script could fail:
exec: xterm: not found
a terminal name with an asterisk could get shell expanded (unlikely, but good practice to handle it anyway)