Hi,
On Fri, Dec 12, 2008 at 09:13, Davide Cittaro davide.cittaro@ifom-ieo-campus.it wrote:
Ok, another one: the process I would like to start is not a daemon itself. If I start it with "daemon" function it remains in foreground. Ok, I can play with '&' but is there a init function to start in background a process?
Use "nohup" and redirect file descriptors to be safe.
nohup cmd... </dev/null >/dev/null 2>&1 &
Look up "man nohup" for (a few) more details.
HTH, Filipe