Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-paths / configuredExecutablePath

Function: configuredExecutablePath() ​

configuredExecutablePath(filename, platform?): string

Defined in: hermes/toolchain-paths.ts:34

Resolve an explicitly configured executable path, adding .exe when Windows callers omit it.

Parameters ​

filename ​

string

Configured path to the executable.

platform? ​

Platform = process.platform

Host platform; defaults to the current process platform.

Returns ​

string

The configured path with a Windows suffix when needed.

pumpkin-plugins documentation