How do I run a .command file from AppleScript?

Hello there

I’ve been trying unsuccessfully to figure out how to run a bash executable .command file from within a script. I need this because I’m using an app that allows me to run pre/post-flight applescripts, but it’s the shell programs that I want to run. So what’s the syntax/vocab for saying

run this thing, please “volume:path/path/filename.command” ??

Thanks in advance for your help…

  • Padmavyuha

Just make sure it is an executable file and invoke it:

do shell script "chmod 755 /path/to/file; /path/to/file"

Thanks for that!