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

List:       kde-devel
Subject:    Re: kdesu, kprocess and stdout
From:       Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date:       2006-01-05 21:33:00
Message-ID: 200601052233.07003.thomas.friedrichsmeier () ruhr-uni-bochum ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

Regards
Thomas

[Attachment #5 (application/pgp-signature)]

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