3 Commits
Author SHA1 Message Date
Nitzan Uziely 0bcaf9c4d1 child_process: fix spawn and fork abort behavior
Fix AbortSignal in Spawn which doesn't actually abort
the process, and fork can emit an AbortError even if
the process was already exited. Add documentation
For killSignal.

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

PR-URL: https://github.com/nodejs/node/pull/37325
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2021-09-01 23:21:33 +02:00
Rich Trott 3215a58843 test: add already-aborted-controller test for spawn()
PR-URL: https://github.com/nodejs/node/pull/36644
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
2021-06-11 09:29:53 +02:00
Benjamin Gruenbaum 0b691ce57e child_process: add signal support to spawn
PR-URL: https://github.com/nodejs/node/pull/36432
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2021-04-30 12:00:24 +02:00