child_process: keep SIGWINCH from killing on Win · nodejs/node@21655dc · GitHub
Skip to content

Commit 21655dc

Browse files
PickBasaduh95
authored andcommitted
child_process: keep SIGWINCH from killing on Win
Fixes: #64324 Signed-off-by: PickBas <sayed.kirill@gmail.com> PR-URL: #64510 Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
1 parent 152a326 commit 21655dc

3 files changed

Lines changed: 43 additions & 5 deletions

File tree

doc/api/child_process.md

Lines changed: 8 additions & 4 deletions

src/process_wrap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ class ProcessWrap : public HandleWrap {
351351
}
352352
#ifdef _WIN32
353353
if (signal != SIGKILL && signal != SIGTERM && signal != SIGINT &&
354-
signal != SIGQUIT && signal != 0) {
354+
signal != SIGQUIT && signal != 0 && signal != SIGWINCH) {
355355
signal = SIGKILL;
356356
}
357357
#endif
Lines changed: 34 additions & 0 deletions

0 commit comments

Comments
 (0)