@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-paths / executablePath
Function: executablePath()
executablePath(
directory,name,platform?):string
Defined in: hermes/toolchain-paths.ts:12
Return an executable path with the suffix required by the selected host platform.
Parameters
directory
string
Directory containing the executable.
name
string
Executable name without a Windows suffix.
platform?
Platform = process.platform
Host platform; defaults to the current process platform.
Returns
string
The joined executable path.