child_process: add windowsHide option
This commit exposes the UV_PROCESS_WINDOWS_HIDE
flag in Node as a windowsHide
option to the child_process
methods. The option is only applicable to Windows, and is ignored elsewhere.
This still needs docs, which I'll write if:
- Someone verifies that this actually works on Windows.
- We agree that we want this documented.
windowsVerbatimArguments
, for example, is not.
Fixes: https://github.com/nodejs/node/issues/15217
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
Affected core subsystem(s)
child_process