lib: throw error when pass overlapped to spawn_sync
overlapped
is not supported in *Sync API of child_process
module currently.
fix: https://github.com/nodejs/node/issues/52265
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines