[fpc-pascal]How to daemonize a program?

Matt Emson memsom at interalpha.co.uk
Mon Jan 12 11:34:58 CET 2004

> 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?

basically you fork the process, set session id to new process, signal if
needed, and then fork again and let the initial process return.


More information about the fpc-pascal mailing list