[fpc-pascal] respawn a daemon in Linux

Michael Schnell mschnell at lumino.de
Tue Jan 14 11:52:02 CET 2014


On 01/14/2014 11:35 AM, Tony Whyman wrote:
> Michael,
>
> This should be a classic Unix program with two separate parent and child
> processes, where the child process runs your program and the parent is
> responsible for monitoring the child and respawning it when it stops.
> The basic algorithm of the parent is:
> ....

This really  sounds like the decent way to do this !

In fact at best someone (me) should modify the demonapp.pp unit in the 
fpc library to allow for this kind of re-spawning.

Would the fpc team accept such a patch ?

Thanks,
-Michael



More information about the fpc-pascal mailing list