ZIm/crates/util/src
Michael Sloan 8c55063417
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.
2025-04-18 15:04:26 -06:00
..
test Fix Clippy warnings in util crate (#8721) 2024-03-02 13:06:35 -05:00
arc_cow.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
command.rs windows: Set CREATE_NO_WINDOW for commands (#18447) 2024-11-20 16:52:38 -08:00
fs.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
markdown.rs Fix tools' ui_text to use inline code escaping (#27543) 2025-03-26 21:49:51 +00:00
paths.rs Gracefully handle models searching for empty glob (#27370) 2025-03-25 12:32:20 -04:00
serde.rs Track cumulative token usage in assistant2 when using anthropic API (#26738) 2025-03-13 22:56:16 +00:00
test.rs Canonicalize paths when running tests (#23655) 2025-01-26 14:56:07 +08:00
util.rs Fix zed sometimes stopping by using setsid on interactive shells (#29070) 2025-04-18 15:04:26 -06:00