Skip to content

get_executable_path_preference

wpferguson edited this page Jun 14, 2020 · 1 revision

GET_EXECUTABLE_PATH_PREFERENCE

NAME

get_executable_path_preference

SYNOPSIS

return the path to an executable from a preference

USAGE

local df = require "lib/dtutils.file"
local result = df.get_executable_path_preference(executable)

executable - string - the name of the executable to get the path for

DESCRIPTION

get_executable_path_preference returns the path preference to the requested executable.

RETURN VALUE

result - string - path to the executable

LIMITATIONS

executable should be the basename of the executable without extensions

Clone this wiki locally