[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Question about kprocess + kdesu
From: Laurent Montel <lmontel () mandrakesoft ! com>
Date: 2002-04-16 14:07:25
[Download RAW message or body]
Hi,
I have a question.
I want to launch an application into a programm.
But this application should be launch with "root user".
So I want to use kdesu to change user.
But it doesn't work when I use this code :
KProcess proc;
proc << "kdesu";
proc << " kcmshell";
proc << " fileshare";
proc.start( KProcess::DontCare );
This code launch just "kcmshell fileshare" but not "kdesu kcmshell fileshare".
Do you have some idea ?
Regards.
>> 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