Calling external commands from scripts

Can bash scripts be run from aseprite scripts?

dofile("") seems to invoke the script, but it is ignoring the #!/bin/bash at the head of the .sh file so it’s not calling bash. I have also tried dofile("/bin/bash") and dofile("/bin/bash", "") with no luck.

This is on Mac.

dofile is specifically for executing files as Lua. You probably want os.execute("")

Perfect… thanks so much!