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
1cf765e126Agus Zubiaga committed on 10/23/2025, 11:37:23 PM· committed by GitHubparent79eff1f
28 files changedLine totals unavailable