[Gambas-user] how to relauch the app from app

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Aug 22 21:46:54 CEST 2013


Is this what you mean (see attachment)?
Run it as binary, not via IDE.

But I would think carefully, why exactly you need to relaunch your app.
Broken object model?

Jussi


On Thu, Aug 22, 2013 at 9:00 PM, PICCORO McKAY Lenz
<mckaygerhard at ...626...>wrote:

> From: Randall Morgan <rmorgan62 at ...626...>
>
> > 1. Setup a cron job to close and restart your app.
> >
>  not, this make my app depend on cron and look like something like
> daemonization.. its not usefully
>
> >
> > 2. Start a new instance of your app as needed and then close the current
> > app.
> >
> err wht?
>
>
> > 3. Create a launcher app that gets called by your app on shutdown which
> > then relaunches the app.
> >
> i do that.. but i think that there's something like ME.refresh etc that
> relaunch
>
> i try to recreate theraths management by made a pmain threath and then that
> search for at leas one threath of my app running.. but now, this are
> something like a deamon ..  ¬_¬
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Relaunch-0.0.4.tar.gz
Type: application/x-gzip
Size: 4794 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20130822/ac26f015/attachment.bin>


More information about the User mailing list