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.

-- 
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm

Attachment: signature.asc
Description: This is a digitally signed message part.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to