fix: allow harness codex command override

This commit is contained in:
김경종
2026-06-12 17:43:50 +09:00
parent 6cc5ee6e25
commit 7179cfc243
2 changed files with 11 additions and 1 deletions
+3
View File
@@ -405,6 +405,9 @@ class StepExecutor:
@staticmethod
def _codex_command() -> str:
override = os.environ.get("HARNESS_CODEX_COMMAND", "").strip()
if override:
return override
return (
shutil.which("codex.cmd")
or shutil.which("codex.exe")