Skip to content

Commit 969a12b

Browse files
Trottjuanarbol
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 <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]>
1 parent af2aa5b commit 969a12b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/api/child_process.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -671,9 +671,9 @@ subprocess.on('error', (err) => {
671671
Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process
672672
title while others (Windows, SunOS) will use `command`.
673673

674-
Node.js currently overwrites `argv[0]` with `process.execPath` on startup, so
674+
Node.js overwrites `argv[0]` with `process.execPath` on startup, so
675675
`process.argv[0]` in a Node.js child process will not match the `argv0`
676-
parameter passed to `spawn` from the parent, retrieve it with the
676+
parameter passed to `spawn` from the parent. Retrieve it with the
677677
`process.argv0` property instead.
678678

679679
If the `signal` option is enabled, calling `.abort()` on the corresponding
@@ -787,7 +787,7 @@ pipes between the parent and child. The value is one of the following:
787787
`child_process` object as [`subprocess.stdio[fd]`][`subprocess.stdio`]. Pipes
788788
created for fds 0, 1, and 2 are also available as [`subprocess.stdin`][],
789789
[`subprocess.stdout`][] and [`subprocess.stderr`][], respectively.
790-
Currently, these are not actual Unix pipes and therefore the child process
790+
These are not actual Unix pipes and therefore the child process
791791
can not use them by their descriptor files,
792792
e.g. `/dev/fd/2` or `/dev/stdout`.
793793
2. `'overlapped'`: Same as `'pipe'` except that the `FILE_FLAG_OVERLAPPED` flag
@@ -822,7 +822,7 @@ pipes between the parent and child. The value is one of the following:
822822
underlying descriptor (file streams do not until the `'open'` event has
823823
occurred).
824824
7. Positive integer: The integer value is interpreted as a file descriptor
825-
that is currently open in the parent process. It is shared with the child
825+
that is open in the parent process. It is shared with the child
826826
process, similar to how {Stream} objects can be shared. Passing sockets
827827
is not supported on Windows.
828828
8. `null`, `undefined`: Use default value. For stdio fds 0, 1, and 2 (in other
@@ -1243,7 +1243,7 @@ changes:
12431243
* {Object} A pipe representing the IPC channel to the child process.
12441244

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

12481248
#### `subprocess.channel.ref()`
12491249

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

15581558
#### Example: sending a socket object

0 commit comments

Comments
 (0)