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 253c030

Browse filesBrowse files
bzozMylesBorins
authored andcommitted
doc: mark accessing IPC channel fd as undefined
Adds note that accessing the fd of the IPC channel in any other way than process.send, or using the IPC channel with child processes that is not Node.js is not supported. PR-URL: #17545 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent b4510f7 commit 253c030
Copy full SHA for 253c030

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.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,10 @@ pipes between the parent and child. The value is one of the following:
620620
will enable [`process.send()`][], [`process.disconnect()`][],
621621
[`process.on('disconnect')`][], and [`process.on('message')`] within the
622622
child.
623+
624+
Accessing the IPC channel fd in any way other than [`process.send()`][]
625+
or using the IPC channel with a child process that is not a Node.js instance
626+
is not supported.
623627
3. `'ignore'` - Instructs Node.js to ignore the fd in the child. While Node.js
624628
will always open fds 0 - 2 for the processes it spawns, setting the fd to
625629
`'ignore'` will cause Node.js to open `/dev/null` and attach it to the

0 commit comments

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