Skip to main content
CommonExecOptions - child_process - Node documentation
interface CommonExecOptions
extends CommonOptions

Usage in Deno

import { type CommonExecOptions } from "node:child_process";

Properties

optional
input:
string
| ArrayBufferView
| undefined
optional
stdio: StdioOptions | undefined

Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings. If passed as an array, the first element is used for stdin, the second for stdout, and the third for stderr. A fourth element can be used to specify the stdio behavior beyond the standard streams. See ChildProcess.stdio for more information.

optional
killSignal:
Signals
| number
| undefined
optional
maxBuffer: number | undefined
optional
encoding:
BufferEncoding
| "buffer"
| null
| undefined