|
The AbsPath class is intended for automatic search for one specific filename, and for caching the result. Right now only searching for executables is supported. - Parameters:
-
| filename | The name of the executable that we are looking for. |
| execname | This should be argv[0]. Relative paths in the executable will usually be provided relative to the installation directory of the exectuable itself, and not relative to the current working directory. But calling the exectuable from the current working directory allows to determine this directory by looking at the basename of argv[0]. This parameter is meant to used for that step. |
| mode | We look only at executables with this access mode (read, write, execute, or a combination). |
|