RoadmapShopEvents
Skip to main content

Home > @rushstack/node-core-library > IExecutableSpawnOptions

IExecutableSpawnOptions interface

Options for Executable.spawn()

Signature:

export interface IExecutableSpawnOptions extends IExecutableResolveOptions 

Extends: IExecutableResolveOptions

Properties

PropertyModifiersTypeDescription
currentWorkingDirectory?string

(Optional) The current working directory. If omitted, process.cwd() will be used.

(Inherited from IExecutableResolveOptions)

environment?NodeJS.ProcessEnv

(Optional) The environment variables for the child process.

(Inherited from IExecutableResolveOptions)

environmentMap?EnvironmentMap

(Optional) The environment variables for the child process.

(Inherited from IExecutableResolveOptions)

stdio?ExecutableStdioMapping

(Optional) The stdio mappings for the child process.

NOTE: If IExecutableSpawnSyncOptions.input is provided, it will take precedence over the stdin mapping (stdio[0]).