# terminal: Give child processes time to exit on their own \(\#47408\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/76c885771a4f580330dae305d9b06b9551f5b19d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 76c885771a4f580330dae305d9b06b9551f5b19d

Requested commit: 76c885771a4f580330dae305d9b06b9551f5b19d

Commit: 76c885771a4f580330dae305d9b06b9551f5b19d

Tree: 9f786b2e9e947e7c97fad88fd000a5d8683937f8

Author: Smit Barmase

Committer: GitHub

## Message

```
terminal: Give child processes time to exit on their own (#47408)

Closes #44003

Supersedes https://github.com/zed-industries/zed/pull/45777

Co-authored-by: Lukas <lukas@zed.dev>

Release Notes:

- Fixed an issue where the terminal would sometimes fail to write shell
history.

---------

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
```

## Parents

- [179112532aed501958d4b00e521987c4a3ccb5ad](https://git.cafe/gitcafe/zed/commit/179112532aed501958d4b00e521987c4a3ccb5ad?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/76c885771a4f580330dae305d9b06b9551f5b19d?format=markdown)
