Skip to content

Commit

Permalink
Fix TypeScript comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 8, 2019
1 parent f8fa659 commit 5974c2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 5974c2d

Please sign in to comment.