Files
electron/lib/node
Shelley Vohr 76d261a3b5 refactor: hand crashpad env to run-as-node children from lib/node/init (#53527)
* refactor: hand crashpad env to run-as-node children from lib/node/init

Wrap internal/child_process's ChildProcess.prototype.spawn and spawnSync in
lib/node/init.ts to add CRASHDUMP_SIGNAL_FD / CRASHPAD_HANDLER_PID for
ELECTRON_RUN_AS_NODE children of process.execPath on Linux, replacing the
patch to Node's normalizeSpawnArguments().

* chore: oxfmt

* fix: leave invalid spawn options to Node's validation

parallel/test-child-process-constructor calls ChildProcess.prototype.spawn with
non-object options and non-array envPairs and expects Node's own errors.
2026-09-05 11:00:31 +02:00
..