Skip to content

child_process: add ChildProcess 'spawn' event

The new event signals that the subprocess has spawned successfully and no 'error' event will be emitted from failing to spawn.

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

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

Big thanks to @bnoordhuis for his guidance & the actual changes to lib/!

Merge request reports

Loading