Skip to content

Commit 7546eef

Browse files
ayazhafizMylesBorins
authored andcommitted
doc: rephrase text of child_process.execSync()
Rephrases the error thrown by child_process.execSync(). PR-URL: #14953 Fixes: #14944 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 968121b commit 7546eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/child_process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ the `SIGTERM` signal and does not exit, the parent process will still wait
611611
until the child process has exited.*
612612

613613
If the process times out, or has a non-zero exit code, this method ***will***
614-
throw. The [`Error`][] object will contain the entire result from
615-
[`child_process.spawnSync()`][]
614+
throw an [`Error`][] that will include the full result of the underlying
615+
[`child_process.spawnSync()`][].
616616

617617
### child_process.execSync(command[, options])
618618
<!-- YAML

0 commit comments

Comments
 (0)