src: use std::vector for setting up process.execPath
Whitespace-adjusted diff for review: https://github.com/nodejs/node/pull/25069/files?w=1
Use std::vector
as an RAII-style alternative to allocating
and deleting raw memory storage.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines