[fpc-pascal]How to daemonize a program?

2004-01-11 Thread Paul Aviles
Hello all,

I know I can start a program with & at the end and will run in the
background. Is there a way to do this without the & symbol in Linux?

Thanks

-pa


___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]How to daemonize a program?

2004-01-11 Thread Marco van de Voort
> I know I can start a program with & at the end and will run in the
> background. Is there a way to do this without the & symbol in Linux?

Yes. The examples packaged with Free Pascal have a daemon.pp demo. That works 
(and also on FreeBSD iirc)



___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]How to daemonize a program?

2004-01-11 Thread James Mills
On Sun, Jan 11, 2004 at 07:06:35PM -0500, Paul Aviles wrote:
> Hello all,
> 
> I know I can start a program with & at the end and will run in the
> background. Is there a way to do this without the & symbol in Linux?

have a look at the daemon.pp example in the examples.

cheers
James

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal