Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SpawnPromiseOptions

Add logging to standard SpawnSyncoptions. If no encoding is provided, it is set to "buffer" if log is defined and "utf8" otherwise.

Hierarchy

  • SpawnSyncOptions
    • SpawnPromiseOptions

Index

Properties

Optional argv0

argv0: string

Optional cwd

cwd: string

Optional encoding

encoding: string

Optional env

env: ProcessEnv

Optional gid

gid: number

Optional input

input: string | NodeJS.ArrayBufferView

Optional killSignal

killSignal: NodeJS.Signals | number

Optional log

Optional logger to write stdout and stderr to. If this is provided, the encoding for it is taken from the encoding option property and that property is set to "bufffer". If no encoding is defined, the default encoding for the log is "utf8".

Optional logCommand

logCommand: boolean

Set to true if you want the command line sent to the Writablelog provided to spawnPromise. Set to false if the command or its arguments contain sensitive information.

Optional maxBuffer

maxBuffer: number

Optional shell

shell: boolean | string

Optional stdio

stdio: StdioOptions

Optional timeout

timeout: number
default

0

Optional uid

uid: number

Optional windowsHide

windowsHide: boolean
default

true

Optional windowsVerbatimArguments

windowsVerbatimArguments: boolean

Generated using TypeDoc