Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread David Jarvie
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 u

Re: Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread Enda Cronnolly
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 produc

Re: Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread David Jarvie
On Sunday 08 May 2011 18:46:46 Enda Cronnolly wrote: > 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 mod

Re: Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread johnmS2
On 05/08/2011 11:35 AM, David Jarvie wrote: > On Sunday 08 May 2011 18:46:46 Enda Cronnolly wrote: >> 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 /us