-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Description
The line at the end describing about the error thrown can be worded better.
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()
Should be something like:
If the process times out, or has a non-zero exit code, this method will throw an Error object which will contain the entire result from child_process.spawnSync()
https://nodejs.org/api/child_process.html#child_process_child_process_execsync_command_options
[refack adding]
Lines 687 to 689 in 467385a
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()`][] |
Metadata
Metadata
Assignees
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.