[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Binary location
From:       Hans Petter Bieker <bieker () stud ! ntnu ! no>
Date:       2000-03-29 13:55:53
[Download RAW message or body]

On Wed, 29 Mar 2000, David Faure wrote:

> 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.

That will not work if PATH is relative and you do a chdir in the app?!

-bieker-

Norwegian University of Science and Technology, Engineering Cybernetics
                 bieker@stud.ntnu.no / bieker@kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic