Nice. Thanks! 

-----Message d'origine-----
De : [email protected]
[mailto:[email protected]] De la part de Michael
Diehr
Envoyé : Sonntag, 3. Juni 2012 17:53
À : MBS Real Studio Plugin List
Objet : Re: [MBS] Restart app on Mac.rbp -> anything like this for Windows?

On May 29, 2012, at 11:08 PM, Oliver Osswald wrote:

>> Windows has no problem with having both running.


Neither does mac os x.  You can simply use

 open -n  /path/to/app
to open a new instance of an already running app.

So a one-liner on mac would be :

 shell.execute "open -n " +
MyApp.folderItem.child("Contents").child(myAppName).posixPath

Beware, the -n switch is doesn't exist in older OS X (I think it was
introduced in 10.5)

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.i
nfo

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to