Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>:

>
>
> On Fri, 11 Apr 2008, Graeme Geldenhuys wrote:
>
> > Michael Van Canneyt wrote:
> > >
> > > ExecuteProcess(ParamStr(0),options);
> >
> > That's not going to work, because ExecuteProcess waits for the process
> > to complete before it returns. I forgot Lazarus has a File|Restart
> > option, so I'll have a look to see what they did.

Lazarus uses the wrapper startlazarus.
This way even heap bugs won't stop the restart, the splashscreen shows faster
and the executable can be replaced.


Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to