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 07:26 PM.|
Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.