Skip to content

child_process: simplify spawn argument parsing

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/spawn-args into master

This commit simplifies the object returned by normalizeSpawnArguments(). In general, this simplifies the code by removing options vs. opts logic.

This does impact monkey patching, as illustrated by the changes in tests. For that reason, I'm conservatively labeling as semver-major. If anyone disagrees, feel free to remove the label.

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

Merge request reports

Loading