> Bug the authors to fix it? daemon(3) is provided for a reason!
>
> Here's my version of a simple daemonizing program.... Neither
> TIOCNOTTY nor setpgid() is sufficient to detach from a terminal
> session in a POSIX environment; setsid() is required. daemon(3) does
> a nice job of encapsulating this along with the other more obvious
> prerequisites.
>
Time for a daemon(1)? I'd like to have a more flexible approach towards
closing of stdin/out/err, maybe something similar to what Matt did, or
similar to nohup: close it iff it's a tty.
-lq
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message