@sleve_mcdichael said in Escaping commands in script modules:
Is this right, though?
It is, because the filename globbing for * doesn't happen inside the quoted string:
$ ls "~/roms/nes/*" ls: cannot access 'roms/nes/*': No such file or directory # tries to list a file named '*' $ ls "~/roms/nes/"* roms/nes/240pee.nes roms/nes/game1.zip ... # filename expansion happens normally