Skip to content

Commit 57c7eae

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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 188713c commit 57c7eae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/child_process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,8 @@ does not exit, the parent process will still wait until the child process has
685685
exited.
686686

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

691691
### child_process.execSync(command[, options])
692692
<!-- YAML

0 commit comments

Comments
 (0)