[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-06 19:36:36
Message-ID: 200601061936.36893.robert () roberthogan ! net
[Download RAW message or body]

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?--  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