ResolveExecutableOptions interface

Options used while resolving an executable.

Properties

allowWindowsBatchFiles

Whether .cmd and .bat files may be selected on Windows.

Batch files only support a restricted argument set and are disabled by default.

cwd

The working directory used to resolve explicit relative paths.

env

The environment whose PATH is searched.

Property Details

allowWindowsBatchFiles

Whether .cmd and .bat files may be selected on Windows.

Batch files only support a restricted argument set and are disabled by default.

allowWindowsBatchFiles?: boolean

Property Value

boolean

cwd

The working directory used to resolve explicit relative paths.

cwd?: string | URL

Property Value

string | URL

env

The environment whose PATH is searched.

env?: ProcessEnv

Property Value

ProcessEnv