Skip to content

Commit f10e1ed

Browse files
committed
doc: 'ipc' is required with fork stdio option
Fixes: #8167 PR-URL: #8290 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 407069a commit f10e1ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/child_process.md

+2
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ added: v0.5.0
263263
[`stdio`][] for more details (Default: `false`)
264264
* `stdio` {Array} Supports the array version of [`child_process.spawn()`][]'s
265265
[`stdio`][] option. When this option is provided, it overrides `silent`.
266+
The array must contain exactly one item with value `'ipc'` or an error will
267+
be thrown. For instance `[0, 1, 2, 'ipc']`.
266268
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
267269
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
268270
* Return: {ChildProcess}

0 commit comments

Comments
 (0)