From 416ea4ff0e288dea40a4d71ec0d0803e1cb6e87e Mon Sep 17 00:00:00 2001 From: hafiz Date: Sun, 20 Aug 2017 08:25:53 -0500 Subject: [PATCH 1/2] doc: rephrase wording of child_process.execSync() Rephrases the error thrown by child_process.execSync(). Fixes: https://github.com/nodejs/node/issues/14944 --- doc/api/child_process.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index dee7f24b829094..087239ea55bb7d 100755 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -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 +[`spawnSync()`][]. ### child_process.execSync(command[, options])