Interface ISpawnOptions

{@link http://gruntjs.com/api/grunt.util#grunt.util.spawn}

Index

Properties

Properties

optional public args?: Array<string>

An array of arguments to pass to the command.

public cmd: string

The command to execute. It should be in the system path.

optional public fallback?: any

If this value is set and an error occurs, it will be used as the value and null will be passed as the error value.

optional public grunt?: boolean

If specified, the same grunt bin that is currently running will be spawned as the child command, instead of the "cmd" option. Defaults to false.

optional public opts?: { cwd?: string; stdio?: any; custom?: any; env?: any; detached?: boolean; }

Additional options for the Node.js child_process spawn method.

optional public opts.custom?: any

optional public opts.cwd?: string

optional public opts.detached?: boolean

optional public opts.env?: any

optional public opts.stdio?: any