LocalEnvironment

constructor(workingDir: String? = null, envVars: Map<String, String> = emptyMap(), inheritedEnvVarAllowlist: Set<String>? = null)

Parameters

workingDir

Absolute path to the workspace directory. If null or empty, a temporary directory is created during initialize.

envVars

Extra environment variables for every command, applied after the allowlist.

inheritedEnvVarAllowlist

Names of the host's environment variables commands may inherit; null inherits all of them. PATH is always inherited, so commands find the host's programs.