merge 627333 646425 thanks Hi!
On Fri, 2012-06-15 at 16:06:24 -0500, Jonathan Nieder wrote: > Marc Haber wrote: > > On Thu, May 19, 2011 at 05:05:33PM +0100, Nicholas Bamber wrote: > > >> It would be nice to have --stderr, --stdout and --stdin options to control > >> the IO of the daemon process. > > > > +1! > Can you say a little more? What daemon, what workaround are you using > instead, can you think of any possible downsides and how do you suggest > mitigating them, etc? This is related to improper “daemons” that need the s-s-d --background option, which implicitly closes relevant file descriptors, as it's the norm for daemonized programs. I was looking into this recently and came to the conclusion that it makes more sense to ask s-s-d to not close the file descriptors, which would allow the caller to setup any (complex) redirections on their own, and needs less options from s-s-d side. At the same time it would also make sense to ask s-s-d to redirect its own error messages to somewhere else. For the first I have on my stash a new --no-close option, which I'll be pushing, for the second I'll be adding something new. thanks, guillem -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

