Repository navigation
Commit 8f4eec4
Deliver a real force-kill when the app-server close deadline fires
terminateProcessTree was a verified no-op here on POSIX: the child is
not detached, so the process-group signal hits ESRCH and nothing falls
back to the pid, and the signal was only SIGTERM regardless (which the
wedged child ignores by hypothesis). The deadline now sends SIGKILL to
the child pid on POSIX (empirically verified against a SIGTERM-immune
child) and keeps taskkill /T /F on Windows where the child is a cmd.exe
wrapper needing a tree kill.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent 0fb97bb commit 8f4eec4
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
197 | 201 | | |
198 | 202 | | |
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
202 | | - | |
203 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
| |||
0 commit comments