[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Locating executables in root's PATH (in KAuth helper)
From: Enda Cronnolly <enda () codefoundry ! com>
Date: 2011-05-08 17:46:46
Message-ID: 201105081846.46365.enda () codefoundry ! com
[Download RAW message or body]
On Sunday 08 May 2011 18:35:42 David Jarvie wrote:
> Is there any KDE or Qt way to locate an executable using the root PATH.
> Specifically, I want to run something which on my system is in /usr/sbin/,
> calling it from a KAuth helper module running as root.
> KStandarDirs::findExe() doesn't produce any result (the PATH variable
> doesn't seem to be set up). I could hard code the /usr/sbin/ path, but
> that doesn't seem desirable in case the executable is elsewhere on some
> systems.
http://unixhelp.ed.ac.uk/CGI/man-cgi?whereis
Regards,
-Enda.
>> 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