Commit 1fc0a41
lib: allow process kill by signal number
This brings the behaviour in line with the documentation.
PR-URL: #16944
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 72484e5 commit 1fc0a41Copy full SHA for 1fc0a41
File tree
Expand file treeCollapse file tree
2 files changed
+15
-7
lines changedOpen diff view settings
Filter options
- lib/internal
- test/parallel
Expand file treeCollapse file tree
2 files changed
+15
-7
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
158 | 158 | |
159 | 159 | |
160 | 160 | |
161 | | - |
162 | | - |
| 161 | + |
| 162 | + |
163 | 163 | |
164 | 164 | |
165 | 165 | |
|
Collapse file
test/parallel/test-process-kill-pid.js
Copy file name to clipboardExpand all lines: test/parallel/test-process-kill-pid.js+13-5Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
61 | | - |
| 60 | + |
| 61 | + |
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
68 | | - |
69 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
70 | 73 | |
71 | 74 | |
72 | 75 | |
| ||
99 | 102 | |
100 | 103 | |
101 | 104 | |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
102 | 110 | |
103 | 111 | |
104 | 112 | |
|
0 commit comments