Skip to content

child_process: exit spawnSync with null on signal

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/spawnsync into master

This commit sets the spawnSync() exit code to null when the child is killed via signal. This brings the behavior more in sync with spawn().

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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

child_process

Merge request reports

Loading