mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
fix: silence unused detach flag on non-unix
This commit is contained in:
@@ -103,7 +103,7 @@ async fn spawn_process_with_stdin_mode(
|
||||
env: &HashMap<String, String>,
|
||||
arg0: &Option<String>,
|
||||
stdin_mode: PipeStdinMode,
|
||||
detach_from_tty: bool,
|
||||
#[cfg_attr(not(unix), allow(unused_variables))] detach_from_tty: bool,
|
||||
) -> Result<SpawnedProcess> {
|
||||
if program.is_empty() {
|
||||
anyhow::bail!("missing program for pipe spawn");
|
||||
|
||||
Reference in New Issue
Block a user