mirror of
https://github.com/openai/codex.git
synced 2026-10-27 00:00:53 +00:00
## Why Windows batch aliases can fail to invoke Codex when the executable path contains characters that are not representable in the active console code page. ## What changed - Generate same-volume executable paths relative to the batch file using `%~dp0`. - Keep absolute paths as a fallback when the executable and alias are on different volumes. ## Testing Added Windows tests covering a Unicode profile path under code page 437 and an executable on a different volume. GitOrigin-RevId: 10093bbc9f19e4fbe2e22d9397e211a113302f45
35 lines
889 B
TOML
35 lines
889 B
TOML
[package]
|
|
name = "codex-arg0"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
name = "codex_arg0"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
codex-apply-patch = { workspace = true }
|
|
codex-exec-server = { workspace = true }
|
|
codex-install-context = { workspace = true }
|
|
codex-linux-sandbox = { workspace = true }
|
|
codex-sandboxing = { workspace = true }
|
|
codex-shell-escalation = { workspace = true }
|
|
codex-utils-absolute-path = { workspace = true }
|
|
codex-utils-home-dir = { workspace = true }
|
|
dotenvy = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
codex-windows-sandbox = { workspace = true }
|
|
pathdiff = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|