ExecOptions

external interface ExecOptions(source)

Properties

Link copied to clipboard
abstract val cwd: String?

optional working directory. defaults to current

Link copied to clipboard
abstract 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 val env: Record<String, String>?

optional envvar dictionary. defaults to current process's env

Link copied to clipboard
abstract val errStream: Writable?

optional err stream to use. Defaults to process.stderr

Link copied to clipboard
abstract val failOnStdErr: Boolean?

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

Link copied to clipboard
abstract 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 val input: Buffer?

optional. input to write to the process on STDIN.

Link copied to clipboard
abstract val listeners: ExecListeners?

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

Link copied to clipboard
abstract val outStream: Writable?

optional out stream to use. Defaults to process.stdout

Link copied to clipboard
abstract val silent: Boolean?

optional. defaults to false

Link copied to clipboard

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