The "terminalcommand" library doesn't work under Darwin. It raises an obscure AppleScript error that I can't figure out. I made a tiny library that gives roughly the same API, but starts applications fine under Darwin (10.2 and up). It works using the osascript command, but Jack can probably get it too work using OSA directly :-) Quotes, spaces and backslashes are handled properly. I would recommend to extend terminalcommand to incorporate this code in the Darwin case, assuming that you still want to support OS9.