|
From: | Matthew Woehlke |
Subject: | Re: EOF disowns background jobs? |
Date: | Fri, 13 Mar 2009 17:31:59 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20090105 Fedora/2.0.0.19-1.fc10 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |