[Konsole-devel] [Bug 170433] konsole doesn't kill child process (not always)
Bráulio Barros de Oliveira
brauliobo at gmail.com
Fri Sep 12 22:55:36 UTC 2008
http://bugs.kde.org/show_bug.cgi?id=170433
--- Comment #3 from Bráulio Barros de Oliveira <brauliobo gmail com> 2008-09-13 00:55:28 ---
uhm robert, you probably got the problem's reason. those process were really
ran as root. but maybe the following method can fix this too.
> Can you expand on this?
after a fork() if you call setpgrp() the process is converted to a process
group, so on a kill() call all its childs are killed too.
you can also do it on qprocess' method:
http://doc.trolltech.com/4.4/qprocess.html#setupChildProcess
--
Configure bugmail: http://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