Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
doc: rephrase text of child_process.execSync()
Browse files Browse the repository at this point in the history
Rephrases the error thrown by child_process.execSync().

PR-URL: nodejs/node#14953
Fixes: nodejs/node#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 addaleax committed Aug 28, 2017
1 parent 98d443b commit d9a1740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/child_process.md
Expand Up @@ -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
Expand Down

0 comments on commit d9a1740

Please sign in to comment.