RE: [MBS] Restart app on Mac.rbp -> anything like this for Windows?

2012-06-03 Thread Oliver Osswald
> 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

Re: [MBS] Restart app on Mac.rbp -> anything like this for Windows?

2012-06-03 Thread Christian Schmitz
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

RE: [MBS] Restart app on Mac.rbp -> anything like this for Windows?

2012-06-03 Thread Oliver Osswald
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 ->

Re: [MBS] Restart app on Mac.rbp -> anything like this for Windows?

2012-06-03 Thread Michael Diehr
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

RE: [MBS] Restart app on Mac.rbp -> anything like this for Windows?

2012-05-29 Thread Oliver Osswald
> 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

Re: [MBS] Restart app on Mac.rbp -> anything like this for Windows?

2012-05-29 Thread Christian Schmitz
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

[MBS] Restart app on Mac.rbp -> anything like this for Windows?

2012-05-29 Thread 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. 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