[Lazarus] How to restart application after crash

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Apr 11 15:17:14 CEST 2008


To detect a crash, I would use a separate process, because the crash
may be sudden (like if the user killed it in the task manager because
it hanged) and not involve any exception.

I don't know if having the main application create a watcher process
could couse trouble, if the os automatically ends child processes. If
this is the case you would need to create a starter application and
start your app from it.

-- 
Felipe Monteiro de Carvalho



More information about the Lazarus mailing list