Skip to content

worker: inherits mutated NODE_OPTIONS

Changes made to the NODE_OPTIONS environment variables weren't properly taken into account when spawning workers, unlike how child_process.fork works.

Fixes part of https://github.com/nodejs/node/issues/37410 (I didn't touch the process.execArgv part, I was worried it'd be a breaking change otherwise).

Merge request reports

Loading