child_process: attach child in promisification
This commit updates the custom exec()
and execFile()
promisification to attach the ChildProcess
instance to the returned Promise
.
Fixes: https://github.com/nodejs/node/issues/28244
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines