Browse Source

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>
v6.x
hafiz 8 years ago
committed by Myles Borins
parent
commit
7546eef262
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 4
      doc/api/child_process.md

4
doc/api/child_process.md

@ -611,8 +611,8 @@ the `SIGTERM` signal and 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

Loading…
Cancel
Save