Matthias Kretz kretz at kde.org
Sun Nov 18 18:15:10 GMT 2007

On Sunday 18 November 2007, John Tapsell wrote:
> Hey all,
>   Can we have a class 'kdesu'  that lets you use kdesu simply?  So
> just move most of the code in kdebase/runtime/kdesu  into a class in
> kdelibs/kdesu.
>   So then apps can do:    KDESu::RunCommand("ls");      or something
> similar.

What about this one?
Did you try it? Is the kdesu lib actually used anywhere?

>   Also, in kde4 it seems difficult for bash scripts to run kdesu now,
> because it's a libexec program.  In a bash script, how should a
> program run a libexec program?

"`kde4-config --path libexec`kdesu"

Matthias Kretz (Germany)                            <><
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071118/9a45cf13/attachment.sig>

More information about the kde-core-devel mailing list