Permalink
Browse files

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>
  • Loading branch information...
ayazhafiz authored and MylesBorins committed Aug 20, 2017
1 parent 968121b commit 7546eef2623df719e6b161ca209a796c6b099b61
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/child_process.md
View
@@ -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

0 comments on commit 7546eef

Please sign in to comment.