From 7546eef2623df719e6b161ca209a796c6b099b61 Mon Sep 17 00:00:00 2001 From: hafiz Date: Sun, 20 Aug 2017 08:25:53 -0500 Subject: [PATCH] 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 Reviewed-By: James M Snell Reviewed-By: Refael Ackermann Reviewed-By: Colin Ihrig --- doc/api/child_process.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 1a61e026c4077a..6bea59ebac3f12 100644 --- a/doc/api/child_process.md +++ b/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])