-
-
Notifications
You must be signed in to change notification settings - Fork 35.8k
promisify child_process.exec always rejectsΒ #19494
Copy link
Copy link
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.
Metadata
Metadata
Assignees
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.
Type
Fields
Give feedbackNo fields configured for issues without a type.
v8.9.4
Ubuntu 16.04
I'm having trouble
promisifyingchild_process.exec. When I run with error or without, the promise is rejected. I've followed the docs and wrote this:fooBargoes through thecatchblock with thiserror:An actual error (or at least a 'no such file') gives me
code: 2,stdout: '',stderr: no such file error string