Launching applescript from bash
i wrote a bash script, renamed it to script.command so the users run it,
then from inside it i call an applescript using "exec osascript XXXX"
all that goes well except a command window
that i am trying to make it close automatically
I haven't used the exec command before. What is special about it?
What I would try in this case is just; "osascript XXX &". The & symbol will allow you to run the command as a separate process and return to your script immediately. Well, at least from the command line.
You might also be interested in this thread: Basic Terminal Automation.
|All times are GMT -4. The time now is 12:10 AM.|
Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.