[fpc-pascal] respawn a daemon in Linux
Michael Van Canneyt
michael at freepascal.org
Tue Jan 14 12:10:22 CET 2014
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.
More information about the fpc-pascal
mailing list