On 01/14/2014 11:52 AM, Michael Van Canneyt wrote:
Of course it will wait. A script always waits till a command exits.
I see. Thanks (silly me).

In your init.d script you need launch the above script (call it
loopmyprogram) in the usual manner, in the background.
Is there a more recommended "usual manner" to launch a script in the background than using "&" (which I did not test with scripts yet, just with applications)

All this is IMHO preferable to modifying your program, which may
introduce additional bugs, unforeseen cases etc...

It seems to be really simple so I'll just do a test tonight.

-Michael


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to