diff --git a/index.d.ts b/index.d.ts index 5743efefe3..44f6fb4063 100644 --- a/index.d.ts +++ b/index.d.ts @@ -101,8 +101,9 @@ declare namespace execa { readonly reject?: boolean; /** - Keep track of the spawned process and `kill` it when the parent process exits. - Kill the spawned process when the parent process exits unless either the spawned process is detached, or the parent process is terminated abruptly. + Kill the spawned process when the parent process exits unless either: + - the spawned process is [`detached`](https://nodejs.org/api/child_process.html#child_process_options_detached) + - the parent process is terminated abruptly, for example, with `SIGKILL` as opposed to `SIGTERM` or a normal exit @default true */