GPSDproxy: send GPS data from gpsd to a remote server

Niccolo Rigacci niccolo at rigacci.org
Thu Jan 15 17:58:27 CET 2009


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




More information about the community mailing list