[Konsole-devel] [Bug 185140] konsole terminates backround processes on closing

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Mar 10 19:15:27 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=185140


Matthew Woehlke <mw_triad at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Matthew Woehlke <mw_triad users sourceforge net>  2009-03-10 20:15:08 ---
...then gnome-terminal is broken. Allowing jobs to run after the parent dies is
creating orphans. (Whether gnome-terminal fails to shut down the shell in this
case, or has a misfeature to detect still-running jobs and disown them, neither
is a good idea.) To understand why this is bad, consider if the child process
is a CLI program that needs an associated tty; you now have a child running
that is useless but can't be stopped except by searching the system process
list for it and using 'kill'. Neither the shell nor the terminal emulator
should be second-guessing the user this way.

Fortunately, there are already ways to indicate that you wish a child process
to ignore termination of the parent. The canonical way is 'nohup'. In bash,
it's often easier to 'disown' such children (especially if you forgot to use
'nohup' to start the child), i.e. 'kate & disown'.

(Having said that, it would be nice if konsole would integrate detachable
sessions, mainly so that crashes wouldn't take out all my shell sessions, but
that's a different issue.)

@Robert: I'm closing this WONTFIX. Obviously as the maintainer you can decide
that's wrong :-), but IMO "fixing" the "bug" exactly as written would be
broken.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list