@@ -25,7 +25,7 @@ ls.on('close', (code) => {
25
25
});
26
26
```
27
27
28
- By default, pipes for ` stdin ` , ` stdout ` and ` stderr ` are established between
28
+ By default, pipes for ` stdin ` , ` stdout ` , and ` stderr ` are established between
29
29
the parent Node.js process and the spawned child. It is possible to stream data
30
30
through these pipes in a non-blocking way. * Note, however, that some programs
31
31
use line-buffered I/O internally. While that does not affect Node.js, it can
@@ -170,7 +170,7 @@ exec('echo "The \\$HOME variable is $HOME"');
170
170
// The $HOME variable is escaped in the first instance, but not in the second
171
171
```
172
172
173
- * Note* : Never pass unsanitised user input to this function. Any input
173
+ * Note* : Never pass unsanitized user input to this function. Any input
174
174
containing shell metacharacters may be used to trigger arbitrary command
175
175
execution.
176
176
@@ -418,7 +418,7 @@ The `child_process.spawn()` method spawns a new process using the given
418
418
` command ` , with command line arguments in ` args ` . If omitted, ` args ` defaults
419
419
to an empty array.
420
420
421
- * Note* : If the ` shell ` option is enabled, do not pass unsanitised user input to
421
+ * Note* : If the ` shell ` option is enabled, do not pass unsanitized user input to
422
422
this function. Any input containing shell metacharacters may be used to
423
423
trigger arbitrary command execution.
424
424
@@ -661,7 +661,7 @@ The [`child_process.spawnSync()`][], [`child_process.execSync()`][], and
661
661
the Node.js event loop, pausing execution of any additional code until the
662
662
spawned process exits.
663
663
664
- Blocking calls like these are mostly useful for simplifying general purpose
664
+ Blocking calls like these are mostly useful for simplifying general- purpose
665
665
scripting tasks and for simplifying the loading/processing of application
666
666
configuration at startup.
667
667
@@ -715,7 +715,7 @@ completely exited.
715
715
does not exit, the parent process will still wait until the child process has
716
716
exited.
717
717
718
- If the process times out, or has a non-zero exit code, this method *** will***
718
+ If the process times out or has a non-zero exit code, this method *** will***
719
719
throw an [ ` Error ` ] [ ] that will include the full result of the underlying
720
720
[ ` child_process.spawnSync() ` ] [ ] .
721
721
@@ -767,11 +767,11 @@ exited. *Note that if the child process intercepts and handles the `SIGTERM`
767
767
signal and doesn't exit, the parent process will wait until the child
768
768
process has exited.*
769
769
770
- If the process times out, or has a non-zero exit code, this method *** will***
770
+ If the process times out or has a non-zero exit code, this method *** will***
771
771
throw. The [ ` Error ` ] [ ] object will contain the entire result from
772
772
[ ` child_process.spawnSync() ` ] [ ]
773
773
774
- * Note* : Never pass unsanitised user input to this function. Any input
774
+ * Note* : Never pass unsanitized user input to this function. Any input
775
775
containing shell metacharacters may be used to trigger arbitrary command
776
776
execution.
777
777
@@ -839,7 +839,7 @@ completely exited. Note that if the process intercepts and handles the
839
839
` SIGTERM ` signal and doesn't exit, the parent process will wait until the child
840
840
process has exited.
841
841
842
- * Note* : If the ` shell ` option is enabled, do not pass unsanitised user input
842
+ * Note* : If the ` shell ` option is enabled, do not pass unsanitized user input
843
843
to this function. Any input containing shell metacharacters may be used to
844
844
trigger arbitrary command execution.
845
845
0 commit comments