SpawnSyncOptionsWithBufferEncoding interface
Buffer-encoding options for spawnSync.
- Extends
-
Omit<SpawnSyncOptions, "encoding">
Properties
| encoding | Selects buffer output. |
Inherited Properties
| allow |
Whether Batch files only support a restricted argument set and are disabled by default. |
| argv0 | The value used for |
| cwd | The working directory used to resolve explicit relative paths. |
| env | The environment whose |
| gid | The numeric group identity of the process. |
| input | Content written to the child process's standard input. |
| kill |
The signal used to terminate the process. |
| max |
The maximum number of bytes allowed on stdout or stderr. |
| shell | Shell execution is not supported. |
| stdio | Standard input, output, and error mappings. |
| timeout | The maximum execution time in milliseconds. |
| uid | The numeric user identity of the process. |
| windows |
Whether to hide the subprocess console window on Windows. |
| windows |
Windows command-line encoding is controlled by this package. |
Property Details
encoding
Selects buffer output.
encoding?: null | "buffer"
Property Value
null | "buffer"
Inherited 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
Inherited From Omit.allowWindowsBatchFiles
argv0
The value used for argv[0] in the child process.
argv0?: string
Property Value
string
Inherited From Omit.argv0
cwd
The working directory used to resolve explicit relative paths.
cwd?: string | URL
Property Value
string | URL
Inherited From Omit.cwd
env
The environment whose PATH is searched.
env?: ProcessEnv
Property Value
ProcessEnv
Inherited From Omit.env
gid
The numeric group identity of the process.
gid?: number
Property Value
number
Inherited From Omit.gid
input
Content written to the child process's standard input.
input?: string | ArrayBufferView
Property Value
string | ArrayBufferView
Inherited From Omit.input
killSignal
The signal used to terminate the process.
killSignal?: number | Signals
Property Value
number | Signals
Inherited From Omit.killSignal
maxBuffer
The maximum number of bytes allowed on stdout or stderr.
maxBuffer?: number
Property Value
number
Inherited From Omit.maxBuffer
shell
Shell execution is not supported.
shell?: undefined
Property Value
undefined
Inherited From Omit.shell
stdio
Standard input, output, and error mappings.
stdio?: StdioOptions
Property Value
StdioOptions
Inherited From Omit.stdio
timeout
The maximum execution time in milliseconds.
timeout?: number
Property Value
number
Inherited From Omit.timeout
uid
The numeric user identity of the process.
uid?: number
Property Value
number
Inherited From Omit.uid
windowsHide
Whether to hide the subprocess console window on Windows.
windowsHide?: boolean
Property Value
boolean
Inherited From Omit.windowsHide
windowsVerbatimArguments
Windows command-line encoding is controlled by this package.
windowsVerbatimArguments?: undefined
Property Value
undefined
Inherited From Omit.windowsVerbatimArguments