On Thu, Jan 15, 2009 at 09:50:04AM +0100, Jean-Philippe Andriot wrote: > > shouldn't this use two fork()'s? See Stevens's "Advanced Programming > > in the Unix Environment" book or take a look at how e.g. tor makes > > itself a daemon: > > man 3 daemon should do it better :)
Wow!!! Excellent audit and very interesting suggestion in a few hours, and just for free!!!! I thank you very much. I suspect that forking without redirecting stdin/out/err (as I did) causes some trouble during shutdown, because my FreeRunner hangs. I will investigate and fix. -- Niccolo Rigacci Firenze - Italy _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community