[Lazarus] How to restart application after crash
Michael Van Canneyt
michael at freepascal.org
Fri Apr 11 13:13:21 CEST 2008
On Fri, 11 Apr 2008, Graeme Geldenhuys wrote:
> Hi,
>
> I would like to create a custom 'exception handler dialog' for our
> applications to hook into Application.OnException(). It must have some
> options like saving a backtrace or copying the backtrace to the
> clipboard (including some system information). I also want to include a
> button to restart the application.
>
> How to I do the latter part? Restart the application from within the
> application?
ExecuteProcess(ParamStr(0),options);
?
Michael.
More information about the Lazarus
mailing list