> De la part de Michael Diehr
<..>
> You can simply use
> open -n /path/to/app
> to open a new instance of an already running app
What finaly is working for me is this:
#If TargetMacOS
// Close all objects before restarting the app, otherwise crash ...
CloseAllObjects
Am 03.06.2012 um 17:53 schrieb Michael Diehr:
> shell.execute "open -n " +
> MyApp.folderItem.child("Contents").child(myAppName).posixPath
Please replace posixPath with shellPath here to avoid trouble.
Also it may be better to launch the .app instead of the binary inside.
Greetings
Christian
Nice. Thanks!
-Message d'origine-
De : mbsplugins-boun...@monkeybreadsoftware.info
[mailto:mbsplugins-boun...@monkeybreadsoftware.info] 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 ->
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.folde
> De la part de Christian Schmitz
<..>
> Simply launch new app and quit old one.
> Windows has no problem with having both running.
Thanks!
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway
Am 29.05.2012 um 04:47 schrieb Oliver Osswald:
> I found 'Restart App on Mac.rbp' among the MBS examples and I have adapted
> it to use it as a helper app to restart my main app. It works.
Nice.
> Two questions:
>
> 1) The helper app has about 6MB. Is there a way to restart my main app
> wit
I found 'Restart App on Mac.rbp' among the MBS examples and I have adapted
it to use it as a helper app to restart my main app. It works.
Two questions:
1) The helper app has about 6MB. Is there a way to restart my main app
without the use of a helper app? I would like to avoid the additional