Skip to main content

publicSpawnOptions

Index

Properties

optionalcwd

cwd?: string

Current working directory (CWD).

@defaultValue

process.cwd()

optionalenv

env?: Record<string, string>

Environment variables.

@defaultValue

process.env

optionalinput

input?: string

Writes data to stdin. When this value is given, stdio[0] must be pipe.

optionalstdio

stdio?: StdioOptions
@defaultValue

["pipe", "pipe", "pipe"]