Tighten Windows launch resolution boundary

This commit is contained in:
jif-oai
2026-06-26 15:44:22 +01:00
parent 7424930928
commit 4ea13a7c81
18 changed files with 111 additions and 214 deletions
+1 -5
View File
@@ -473,7 +473,6 @@ async fn run_command_under_windows_session(
) -> ! {
use codex_core::windows_sandbox::WindowsSandboxLevelExt;
use codex_protocol::config_types::WindowsSandboxLevel;
use codex_windows_sandbox::WindowsProcessLaunch;
use codex_windows_sandbox::WindowsSandboxProxySettingsMode;
use codex_windows_sandbox::WindowsSandboxSessionRequest;
use codex_windows_sandbox::spawn_windows_sandbox_session_for_level;
@@ -483,10 +482,7 @@ async fn run_command_under_windows_session(
permission_profile,
workspace_roots: workspace_roots.as_slice(),
codex_home: config.codex_home.as_path(),
launch: WindowsProcessLaunch {
application_path: None,
command,
},
command,
cwd: cwd.as_path(),
env_map: env,
windows_sandbox_level: WindowsSandboxLevel::from_config(config),