chore: close pipe on non-pty processes (#9369)

Closing the STDIN of piped process when starting them to avoid commands
like `rg` to wait for content on STDIN and hangs for ever
This commit is contained in:
jif-oai authored and GitHub committed 2026-01-16 15:54:32 +01:00
1 parent 7905e99d03
commit 1668ca726f
8 files changed
+74 -15

No files matched your search

+1
View File
@@ -136,6 +136,7 @@ struct ProcessEntry {
call_id: String,
process_id: String,
command: Vec<String>,
tty: bool,
last_used: tokio::time::Instant,
}