On Tue, 14 Jan 2014, Michael Schnell wrote:

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)

using "&" is the recommended manner.

Whether you launch a script or an actual program is entirely irrelevant.

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

Reply via email to