Sign in Join
FPDoc Onlineexperiment

sffFindProgramInPath constant

In unit FileUtil

Search flags used to find a program file in a path on the current platform.

Declaration

pascal
sffFindProgramInPath = [sffDontSearchInBasePath, sffFile, sffExecutable]

Description

sffFindProgramInPath is a constant which contains the default TSearchFileInPathFlag enumeration values used to locate a program file on the current platform.

For the Windows platform, sffFindProgramInPath contains the following values:

[ sffDequoteSearchPath, sffFile, sffExecutable ]

For UNIX-like platforms, sffFindProgramInPath contains the following values:

[ sffDontSearchInBasePath, sffFile, sffExecutable ]

For all other platforms, sffFindProgramInPath contains the following values:

[ sffFile, sffExecutable ]

sffFindProgramInPath is used in the implementation of the FindDefaultExecutablePath routine.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.