mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
doc: rephrase text of child_process.execSync()
Rephrases the error thrown by child_process.execSync(). PR-URL: https://github.com/nodejs/node/pull/14953 Fixes: https://github.com/nodejs/node/issues/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>
This commit is contained in:
1 parent
c19894f814
commit
e76b1ff17e
1 file changed
+2
-2
@@ -685,8 +685,8 @@ does not exit, the parent process will still wait until the child process has
|
||||
exited.
|
||||
|
||||
If the process times out, or has a non-zero exit code, this method ***will***
|
||||
throw. The [`Error`][] object will contain the entire result from
|
||||
[`child_process.spawnSync()`][]
|
||||
throw an [`Error`][] that will include the full result of the underlying
|
||||
[`child_process.spawnSync()`][].
|
||||
|
||||
### child_process.execSync(command[, options])
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user