ExecOptions

external interface ExecOptions(source)

Properties

Link copied to clipboard
abstract external val cwd: String?

optional working directory. defaults to current

Link copied to clipboard
abstract external val delay: Number?

optional. How long in ms to wait for STDIO streams to close after the exit event of the process before terminating. defaults to 10000

Link copied to clipboard
abstract external val env: Record<String, String>?

optional envvar dictionary. defaults to current process's env

Link copied to clipboard
abstract external val errStream: Writable?

optional err stream to use. Defaults to process.stderr

Link copied to clipboard
abstract external val failOnStdErr: Boolean?

optional. whether to fail if output to stderr. defaults to false

Link copied to clipboard
abstract external val ignoreReturnCode: Boolean?

optional. defaults to failing on non zero. ignore will not fail leaving it up to the caller

Link copied to clipboard
abstract external val input: Buffer<*>?

optional. input to write to the process on STDIN.

Link copied to clipboard
abstract external val listeners: ExecListeners?

optional. Listeners for output. Callback functions that will be called on these events

Link copied to clipboard
abstract external val outStream: Writable?

optional out stream to use. Defaults to process.stdout

Link copied to clipboard
abstract external val silent: Boolean?

optional. defaults to false

Link copied to clipboard
abstract external val windowsVerbatimArguments: Boolean?

optional. whether to skip quoting/escaping arguments if needed. defaults to false.