mirror of
https://github.com/openai/codex.git
synced 2026-11-10 16:44:38 +00:00
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:
1 parent
7905e99d03
commit
1668ca726f
8 files changed
+74
-15
No files matched your search
@@ -136,6 +136,7 @@ struct ProcessEntry {
|
||||
call_id: String,
|
||||
process_id: String,
|
||||
command: Vec<String>,
|
||||
tty: bool,
|
||||
last_used: tokio::time::Instant,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user