mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
Hide Windows filesystem helper console windows (#32849)
## What changed - Add a console mode to the Windows sandbox process launcher. - Launch `--codex-run-as-fs-helper` subprocesses with `CREATE_NO_WINDOW`. - Preserve inherited-console behavior for regular sandboxed commands. GitOrigin-RevId: 927be36b82903b6a5fb1a243ba7f406f9ed85f3f
This commit is contained in:
1 parent
84696e3d57
commit
87f3e39fdf
4 files changed
+33
-1
No files matched your search
@@ -4,6 +4,7 @@ use crate::conpty::spawn_conpty_process_as_user;
|
||||
use crate::desktop::LaunchDesktop;
|
||||
use crate::logging::log_failure;
|
||||
use crate::logging::log_success;
|
||||
use crate::process::ConsoleMode;
|
||||
use crate::process::StderrMode;
|
||||
use crate::process::StdinMode;
|
||||
use crate::process::read_handle_loop;
|
||||
@@ -98,6 +99,7 @@ fn spawn_legacy_process(
|
||||
StdinMode::Closed
|
||||
},
|
||||
StderrMode::Separate,
|
||||
ConsoleMode::Inherit,
|
||||
use_private_desktop,
|
||||
logs_base_dir,
|
||||
)?;
|
||||
|
||||
Reference in new issue
Block a user