Stas Bekman wrote:

> > 1. Start the long running process (runs indefinitly for the
> >    purpose of this test), which closes STDOUT, STDIN and
> >    STDERR and then calls setsid().
> 
> Why do you call setsid()?

He's probably thinking of traditional the traditional way in which
you background a daemon by forking, setsid'ing, then forking again
to prevent the process from ever reacquiring a controlling terminal
(your point, that this isn't needed here, is well taken).

-- 
Richard Goerwitz                                [EMAIL PROTECTED]

Reply via email to