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

List:       kde-core-devel
Subject:    Re: Binary location
From:       Stefan Taferner <taferner () salzburg ! co ! at>
Date:       2000-03-29 13:45:24
[Download RAW message or body]

On Wed, 29 Mar 2000, Simon Hausmann wrote:
> argv[0] ? :)

No.

You still need to search the PATH in addition to find the
binary.

But if somebody meanwhile moved the binary, you won't find
it ...

It is usually possible with tricks, but they are then platform
dependant, as Roberto said.

Taking argv[0] and searching in PATH is the best bet I would
say.

--Stefan

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

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