[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kdesu, kprocess and stdout
From: Robert Hogan <robert () roberthogan ! net>
Date: 2006-01-09 20:34:18
Message-ID: 200601092034.19130.robert () roberthogan ! net
[Download RAW message or body]
On Friday 06 January 2006 19:36, Robert Hogan wrote:> On Thursday 05 January 2006 21:33, Thomas Friedrichsmeier wrote:> > > 1. I want to use kdesu and kprocess to run a process as root> > > 2. This process writes to /dev/stdout> > > 3. Kprocess is not able to read the output written to /dev/stdout (or> > > KProcess:stdout as kprocess sees it, because it belongs to root).> >> > Use the "-t" option to kdesu.>> Unfortunately, the process is threaded so while deleting the KProcess in my> application kills 5583 below, the other children remain and can only be> killed by root.>> 5583 pts/2 Ss+ 0:00 kdesu -t -c command> 5593 ? Ss 0:01 command> 5594 ? S 0:00 command> 5595 ? S 0:00 command>> Is there a way around this?
Is that a 'No'? Has anyone dealt with something similar in the past and found a way around it?
I would be eternally grateful for any advice offered...
--
http://www.klamav.net >> 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