0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Gil Tayar 8d7f07f379
child_process: promisify includes stdio in error
This converts the initial implementation of a promised exec that used
the customPromisifyArgs support in util.promisify with a custom
implementation. This is because exec and execFile, when there is an
error, still supply the stdout and stderr of the process, and yet
the promisified version with customPromisifyArgs does
not supply this ability.

I created a custom implementation and attached it to exec and execFile
using the util.promisify.custom key.

Fixes: https://github.com/nodejs/node/issues/13364
PR-URL: https://github.com/nodejs/node/pull/13388
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-06-09 21:46:09 +02:00
..
api child_process: promisify includes stdio in error 2017-06-09 21:46:09 +02:00
api_assets doc: reduce font size on smaller screens 2017-03-09 10:59:24 +01:00
changelogs 2017-05-07, Version 8.1.0 (Current) 2017-06-08 20:54:01 +10:00
guides doc: unify spaces in object literals 2017-06-03 01:56:19 +03:00
.eslintrc.yaml doc: use prefer-rest-params eslint rule in docs 2017-06-05 14:27:57 +03:00
full-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00
node.1 inspector: document bad usage for --inspect-port 2017-05-24 20:31:56 +02:00
onboarding-extras.md doc: update who to cc for async_hooks 2017-06-03 22:34:34 +02:00
onboarding.md doc: correct git fix whitespace command 2017-04-18 08:30:38 -07:00
osx_installer_logo.png build: update Node.js logo on OSX installer 2016-02-27 16:49:56 +11:00
releases.md doc: fix doc styles 2017-05-30 19:18:48 +02:00
STYLE_GUIDE.md doc: make the style of notes consistent 2017-05-25 18:49:41 -04:00
template.html tools,doc: add Google Analytics tracking. 2017-01-25 21:54:34 +01:00
thin-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00