| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent af2aa5b commit 969a12b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -671,9 +671,9 @@ subprocess.on('error', (err) => { | |||
| 671 | 671 | Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process | |
| 672 | 672 | title while others (Windows, SunOS) will use `command`. | |
| 673 | 673 | ||
| 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 | ||
| 675 | 675 | `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 | ||
| 677 | 677 | `process.argv0` property instead. | |
| 678 | 678 | ||
| 679 | 679 | 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: | |||
| 787 | 787 | `child_process` object as [`subprocess.stdio[fd]`][`subprocess.stdio`]. Pipes | |
| 788 | 788 | created for fds 0, 1, and 2 are also available as [`subprocess.stdin`][], | |
| 789 | 789 | [`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 | ||
| 791 | 791 | can not use them by their descriptor files, | |
| 792 | 792 | e.g. `/dev/fd/2` or `/dev/stdout`. | |
| 793 | 793 | 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: | |||
| 822 | 822 | underlying descriptor (file streams do not until the `'open'` event has | |
| 823 | 823 | occurred). | |
| 824 | 824 | 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 | ||
| 826 | 826 | process, similar to how {Stream} objects can be shared. Passing sockets | |
| 827 | 827 | is not supported on Windows. | |
| 828 | 828 | 8. `null`, `undefined`: Use default value. For stdio fds 0, 1, and 2 (in other | |
@@ -1243,7 +1243,7 @@ changes: | |||
| 1243 | 1243 | * {Object} A pipe representing the IPC channel to the child process. | |
| 1244 | 1244 | ||
| 1245 | 1245 | 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`. | ||
| 1247 | 1247 | ||
| 1248 | 1248 | #### `subprocess.channel.ref()` | |
| 1249 | 1249 | ||
@@ -1552,7 +1552,7 @@ can be handled by the parent and some by the child. | |||
| 1552 | 1552 | While the example above uses a server created using the `node:net` module, | |
| 1553 | 1553 | `node:dgram` module servers use exactly the same workflow with the exceptions of | |
| 1554 | 1554 | 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 | ||
| 1556 | 1556 | supported on Unix platforms. | |
| 1557 | 1557 | ||
| 1558 | 1558 | #### Example: sending a socket object | |
| Back | FazBrowse Home | New Git URL |
0 commit comments