From 73a21e4c06d5781dc37f3552dea93bb6a01e19f5 Mon Sep 17 00:00:00 2001 From: Benjamin Gruenbaum Date: Tue, 22 Dec 2020 15:27:14 +0200 Subject: [PATCH] child_process: support AbortSignal in fork PR-URL: https://github.com/nodejs/node/pull/36603 Reviewed-By: Rich Trott Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca --- doc/api/child_process.md | 11 +++++-- lib/child_process.js | 4 +-- .../child-process-stay-alive-forever.js | 3 ++ .../test-child-process-fork-abort-signal.js | 33 +++++++++++++++++++ 4 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 test/fixtures/child-process-stay-alive-forever.js create mode 100644 test/parallel/test-child-process-fork-abort-signal.js diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 116e9f71333..02ea48df44d 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -351,6 +351,9 @@ controller.abort();