Fix zed sometimes stopping by using setsid on interactive shells (#29070)
For some reason `SIGTTIN` sometimes gets sent to the process group, causing it to stop when run from a terminal. This solves that issue by putting the shell in a new session + progress group. This allows removal of a workaround of using `exit 0;` to restore handling of ctrl-c after exit. In testing this appears to no longer be necessary. Closes #27716 Release Notes: - Fixed Zed sometimes becoming a stopped background process when run from a terminal.
This commit is contained in:
parent
7abe2c9c31
commit
8c55063417
5 changed files with 42 additions and 44 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -15835,7 +15835,6 @@ dependencies = [
|
|||
"indoc",
|
||||
"itertools 0.14.0",
|
||||
"language",
|
||||
"libc",
|
||||
"log",
|
||||
"lsp",
|
||||
"multi_buffer",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue