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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to