# Revert: Spawn terminal process on background executor \(\#41060\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1cf765e126a39db1bec5b177c66c305e6db11096

Requested commit: 1cf765e126a39db1bec5b177c66c305e6db11096

Commit: 1cf765e126a39db1bec5b177c66c305e6db11096

Tree: be54fdb80298e726a423e454c1b8b96481c6d6db

Author: Agus Zubiaga

Committer: GitHub

## Message

```
Revert: Spawn terminal process on background executor  (#41060)

Reverts https://github.com/zed-industries/zed/pull/40774 and
https://github.com/zed-industries/zed/pull/40824 since they introduce a
bug where Nushell processes are leaked and Ctrl+C doesn't kill the
current process.

Release Notes:

- Fix a bug where nushell processes wouldn't get killed after closing a
terminal tab
```

## Parents

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

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