On Sat, Jun 16, 2012 at 02:40:27PM +0200, Guillem Jover wrote: > On Sat, 2012-06-16 at 13:32:01 +0200, Marc Haber wrote: > > On Sat, Jun 16, 2012 at 04:50:40AM +0200, Guillem Jover wrote: > > > 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. > > > > Would it be possible to simply write s-s-d --no-close --background > > daemon -- $OPTS > /var/log/mydaemon.log with this option, or would I > > get into quoting hell? > > Yeah that'd be the idea, but I'm not exactly sure what you mean with > "quoting hell".
Quoting hell is what happens when a command is passed though multiple instances of shells and shell expansions and you thus never know how many \'s and "'s you need to have your metachars interpreted by the correct shell. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

