From kde-devel Sat Oct 06 12:45:56 2001 From: Guillaume Laurent Date: Sat, 06 Oct 2001 12:45:56 +0000 To: kde-devel Subject: Re: KProcess X-MARC-Message: https://marc.info/?l=kde-devel&m=100237245225397 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 <<