Chet Ramey wrote:
Sven Mascheck wrote:
I'd expect real daemons to detach from the terminal and create
a new session / new process group. Or is it, that just too
few actually do?
Let's just say the situation is much better than it was in the past.
Sven: I should point out that a more practical use case (and this is how
this came up originally) is launching X apps from a terminal emulator.
These usually don't fork()+exec() (nor should they).
I tend to either /want/ these to run in the foreground, or else I use
this near scriptlet: "$@" &>/dev/null & disown
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
"943. I am not Bjorn of Borg."
-- from 975 things Mr. Welch can no longer do in an RPG
http://theglen.livejournal.com/16735.html