What method do I use to manage an app-specific background process?
- by Simon Dubois
I am developing an application with different behavior depending on the arguments :
"-config" starts a Gtk window to change options, start and close the daemon.
"-daemon" starts a background process that does something every X minutes.
I already know how to use fork/system/exec etc...
But I would like to know the main logic of such…