Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-01

How to daemonize a program?

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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

Reply by email

Marco van de Voort
to Paul Aviles
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)

Reply by email