From 1c2f9dd7fff7ae9ac5e4bef637aca62471bedc4a Mon Sep 17 00:00:00 2001 From: fansworld-claudio Date: Mon, 19 Oct 2015 16:10:18 -0300 Subject: [PATCH] docs: add missing shell option to execSync --- doc/api/child_process.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index ebbc8f4df2c6c9..908da7a656b10f 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -715,6 +715,10 @@ process has exited. - `stderr` by default will be output to the parent process' stderr unless `stdio` is specified * `env` {Object} Environment key-value pairs + * `shell` {String} Shell to execute the command with + (Default: '/bin/sh' on UNIX, 'cmd.exe' on Windows, The shell should + understand the `-c` switch on UNIX or `/s /c` on Windows. On Windows, + command line parsing should be compatible with `cmd.exe`.) * `uid` {Number} Sets the user identity of the process. (See setuid(2).) * `gid` {Number} Sets the group identity of the process. (See setgid(2).) * `timeout` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)