Skip to content

child-process: support any shells on Windows

On Windows, child_process methods like exec supported only cmd.exe as the shell. This change enables these methods to accept any shells using -c switch like Unix shells.

Fixes: https://github.com/nodejs/node/issues/21905

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading