[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KProcess
From:       Guillaume Laurent <glaurent () telegraph-road ! org>
Date:       2001-10-06 12:45:56
[Download RAW message or body]

On Saturday 06 October 2001 14:40, Johnny Andersson wrote:
> Hi. This is my first post to the list. Hope I'm in the right forum.

You are.

> How come that when I start a process with KProcess (NotifyOnExit enabled),
> the started program is a child of my main program, but when my main program
> exits, the child process gets adopted by init (pid 1) and continues to run?

This is the expected behavior.

> I want the child to die when my main program does.

Delete the KProcess object.

-- 
					Guillaume.
					http://www.telegraph-road.org
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic