Bug 126561 (blackhat) - KDE Konsole kills children
Summary: KDE Konsole kills children
Keywords:
Status: CLOSED NOTABUG
Alias: blackhat
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-23 09:21 UTC by Nicola Degara
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-23 15:57:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicola Degara 2004-06-23 09:21:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Description of problem:
Hi guys. 
I was not able to find the component konsole in the list of the
"products" so I have choosen the xterm... please be patient!

I have found a strange thing from the previous version, infact if I
start an application from the console by typing [myapplication &], the
application will start correctely but when I close the konsole the
same program (obviously child of the current console) will be killed.

I do not understand if it is a feature or a bug. :-)
Also because if you use ssh you can start remote application without
loose their run status after the exit.


Version-Release number of selected component (if applicable):
1.3.2

How reproducible:
Always

Steps to Reproduce:
1.type in konsole> gkrellm &
2.close konsole
3.bye bye application
    

Actual Results:  The child application dies

Expected Results:  I do not know if it is a bug or a feature

Additional info:

I will put as enhancement in order to avoid any misunderstanding for
my ticket.

Comment 1 Than Ngo 2004-06-23 15:57:11 UTC
It does not have to do with konsole! konsole does not kill the child
application. It looks like the windows manager does it here.

if you terminate konsole with "exit", your child applications still run.

I don't think it's a bug.

Comment 2 Nicola Degara 2004-06-24 04:41:29 UTC
dear Than,
  your "it looks like" means that it is a behaviour of the windows
manager right?
It is not a bug of the console and for this I trust you but I do not
think it is the right behaviour for the windows manager.

Anyway if you try to start a X application it will be killed and the
PID will killed also. (in the past version this worked in this way!)
Bye

Nicola

Comment 3 Havoc Pennington 2004-06-24 18:30:21 UTC
This is correct, when a shell exits it kills its child processes.

To avoid this do:

bash$ mycommand &
bash$ disown



Note You need to log in before you can comment on or make changes to this bug.