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 4efaf42

Browse filesBrowse files
Trottdanielleadams
authored andcommitted
doc: remove "currently" and comma splice from child_process.md
Remove redundant use of "currently" and fix a comma splice. PR-URL: #44789 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 9864bde commit 4efaf42
Copy full SHA for 4efaf42

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+6
-6
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
+6-6Lines changed: 6 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,9 @@ subprocess.on('error', (err) => {
692692
Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process
693693
title while others (Windows, SunOS) will use `command`.
694694

695-
Node.js currently overwrites `argv[0]` with `process.execPath` on startup, so
695+
Node.js overwrites `argv[0]` with `process.execPath` on startup, so
696696
`process.argv[0]` in a Node.js child process will not match the `argv0`
697-
parameter passed to `spawn` from the parent, retrieve it with the
697+
parameter passed to `spawn` from the parent. Retrieve it with the
698698
`process.argv0` property instead.
699699

700700
If the `signal` option is enabled, calling `.abort()` on the corresponding
@@ -810,7 +810,7 @@ pipes between the parent and child. The value is one of the following:
810810
`child_process` object as [`subprocess.stdio[fd]`][`subprocess.stdio`]. Pipes
811811
created for fds 0, 1, and 2 are also available as [`subprocess.stdin`][],
812812
[`subprocess.stdout`][] and [`subprocess.stderr`][], respectively.
813-
Currently, these are not actual Unix pipes and therefore the child process
813+
These are not actual Unix pipes and therefore the child process
814814
can not use them by their descriptor files,
815815
e.g. `/dev/fd/2` or `/dev/stdout`.
816816
2. `'overlapped'`: Same as `'pipe'` except that the `FILE_FLAG_OVERLAPPED` flag
@@ -845,7 +845,7 @@ pipes between the parent and child. The value is one of the following:
845845
underlying descriptor (file streams do not until the `'open'` event has
846846
occurred).
847847
7. Positive integer: The integer value is interpreted as a file descriptor
848-
that is currently open in the parent process. It is shared with the child
848+
that is open in the parent process. It is shared with the child
849849
process, similar to how {Stream} objects can be shared. Passing sockets
850850
is not supported on Windows.
851851
8. `null`, `undefined`: Use default value. For stdio fds 0, 1, and 2 (in other
@@ -1274,7 +1274,7 @@ changes:
12741274
* {Object} A pipe representing the IPC channel to the child process.
12751275

12761276
The `subprocess.channel` property is a reference to the child's IPC channel. If
1277-
no IPC channel currently exists, this property is `undefined`.
1277+
no IPC channel exists, this property is `undefined`.
12781278

12791279
#### `subprocess.channel.ref()`
12801280

@@ -1583,7 +1583,7 @@ can be handled by the parent and some by the child.
15831583
While the example above uses a server created using the `node:net` module,
15841584
`node:dgram` module servers use exactly the same workflow with the exceptions of
15851585
listening on a `'message'` event instead of `'connection'` and using
1586-
`server.bind()` instead of `server.listen()`. This is, however, currently only
1586+
`server.bind()` instead of `server.listen()`. This is, however, only
15871587
supported on Unix platforms.
15881588

15891589
#### Example: sending a socket object

0 commit comments

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