(s: NodeJS.Signals)
| 389 | return yield* Effect.void |
| 390 | } |
| 391 | const send = (s: NodeJS.Signals) => |
| 392 | Effect.catch(killGroup(command, proc, s), () => killOne(command, proc, s)) |
| 393 | const sig = command.options.killSignal ?? "SIGTERM" |
| 394 | const attempt = send(sig).pipe(Effect.andThen(Deferred.await(signal)), Effect.asVoid) |
| 395 | const escalated = command.options.forceKillAfter |
no test coverage detected