How to run multiple shell scripts from applescript in background

时间:2016-12-02 05:22:47

标签: applescript

I am launching an a jar application from apple script.

do shell script quoted form of jvmpath & " -jar -XstartOnFirstThread -Dapple.awt.UIElement=true -Dfile.encoding=UTF8 " & quoted form of jarpath & " " & quoted form of parameters

The script keeps running till i quit my jar application.

But i am required to launch another application form shell script.

Since i am doing this in a Cocoa app i want to do this in the background.

Thus, can i launch multiple scripts in multiple instances of terminal (so that they aren't blocking one another).

Note: I tested it by running the command in two different terminal windows, works as expected.

0 个答案:

没有答案