mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
exec-server: add hermetic Windows shell smoke coverage
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# Windows exec-server fixture
|
||||
# Exec-server test fixtures
|
||||
|
||||
This directory contains the small Windows exec-server binary used by
|
||||
foreign-OS tests. It links only `codex-exec-server` because the full Codex
|
||||
Windows graph does not yet cross-build with Bazel.
|
||||
This package contains the minimal Windows exec-server binary used by the
|
||||
cross-platform tests in `//codex-rs/core/tests/remote_env_windows`.
|
||||
|
||||
@@ -9,6 +9,7 @@ use codex_exec_server::ExecServerRuntimePaths;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
||||
std::fs::create_dir_all(r"C:\workspace")?;
|
||||
let current_exe = std::env::current_exe()?;
|
||||
// This fixture is always a Windows executable, so it neither invokes nor
|
||||
// needs the separate Linux sandbox binary.
|
||||
|
||||
Reference in New Issue
Block a user