Type Alias: ExecOptions
ExecOptions =
Omit<SpawnOptions,"stdio"> &object
Options for spawn. Extends SpawnOptions except stdio, which is driven by stdin / stdout / stderr.
Type Declaration
Section titled “Type Declaration”check?
Section titled “check?”
optionalcheck?:boolean
Throw when the process exits with a non-zero code.
stderr?
Section titled “stderr?”
optionalstderr?:StdioOption
stdin?
Section titled “stdin?”
optionalstdin?:ExecStdio|string
"inherit" by default; "pipe" / "ignore" select modes, any other string is input.
stdout?
Section titled “stdout?”
optionalstdout?:StdioOption
optionaltrim?:boolean
Omitted — adaptive trim (spawnSync drops one spawn trailing newline,
spawn does not); true — strip all leading/trailing whitespace;
false — leave captured output unchanged.