[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: RE: Binary location
From: David Faure <david () mandrakesoft ! com>
Date: 2000-03-29 13:23:18
[Download RAW message or body]
On Wed, Mar 29, 2000 at 03:45:02PM +0200, Hummel, Timo wrote:
> >Or KStdDirs::findExe(), if from another app.
>
> I don't think its possible, since the application which is currently
> running calls the crash handler. What if you got the same app installed
> in different locations?
Then
- if argv[0] has the full path, you've got it
- if not, then findExe (which uses $PATH) will return the same one as
the one the shell chose - the first one in $PATH.
I don't see a problem here.
--
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic