Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47b06f6

Browse filesBrowse files
fansworld-claudiorvagg
authored andcommitted
docs: add missing shell option to execSync
Adds the "shell" option from child_process.exec to child_process.execSync on the api docs. Fixes: #3387 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> PR-URL: #3440
1 parent bbbd81e commit 47b06f6
Copy full SHA for 47b06f6

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/child_process.markdown‎

Copy file name to clipboardExpand all lines: doc/api/child_process.markdown
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,10 @@ process has exited.
715715
- `stderr` by default will be output to the parent process' stderr unless
716716
`stdio` is specified
717717
* `env` {Object} Environment key-value pairs
718+
* `shell` {String} Shell to execute the command with
719+
(Default: '/bin/sh' on UNIX, 'cmd.exe' on Windows, The shell should
720+
understand the `-c` switch on UNIX or `/s /c` on Windows. On Windows,
721+
command line parsing should be compatible with `cmd.exe`.)
718722
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
719723
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
720724
* `timeout` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.