@@ -692,9 +692,9 @@ subprocess.on('error', (err) => {
692
692
Certain platforms (macOS, Linux) will use the value of ` argv[0] ` for the process
693
693
title while others (Windows, SunOS) will use ` command ` .
694
694
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
696
696
` 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
698
698
` process.argv0 ` property instead.
699
699
700
700
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:
810
810
` child_process ` object as [ ` subprocess.stdio[fd] ` ] [ `subprocess.stdio` ] . Pipes
811
811
created for fds 0, 1, and 2 are also available as [ ` subprocess.stdin ` ] [ ] ,
812
812
[ ` 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
814
814
can not use them by their descriptor files,
815
815
e.g. ` /dev/fd/2 ` or ` /dev/stdout ` .
816
816
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:
845
845
underlying descriptor (file streams do not until the ` 'open' ` event has
846
846
occurred).
847
847
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
849
849
process, similar to how {Stream} objects can be shared. Passing sockets
850
850
is not supported on Windows.
851
851
8 . ` null ` , ` undefined ` : Use default value. For stdio fds 0, 1, and 2 (in other
@@ -1274,7 +1274,7 @@ changes:
1274
1274
* {Object} A pipe representing the IPC channel to the child process.
1275
1275
1276
1276
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 ` .
1278
1278
1279
1279
#### ` subprocess.channel.ref() `
1280
1280
@@ -1583,7 +1583,7 @@ can be handled by the parent and some by the child.
1583
1583
While the example above uses a server created using the ` node:net ` module,
1584
1584
` node:dgram ` module servers use exactly the same workflow with the exceptions of
1585
1585
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
1587
1587
supported on Unix platforms.
1588
1588
1589
1589
#### Example: sending a socket object
0 commit comments