← Files Adaptive Codex OrchestratorARCHIVED FILE

hooks/run_runtime.ps1

469 Bytes · Sep 30, 2026 · 23:14 UTC

↓ Download file

$ErrorActionPreference = 'Stop'
$runtimePath = Join-Path -Path $PSScriptRoot -ChildPath 'runtime.py'

if (Get-Command py.exe -ErrorAction SilentlyContinue) {
    & py.exe -3 $runtimePath
    exit $LASTEXITCODE
}
if (Get-Command python.exe -ErrorAction SilentlyContinue) {
    & python.exe $runtimePath
    exit $LASTEXITCODE
}
if (Get-Command python3.exe -ErrorAction SilentlyContinue) {
    & python3.exe $runtimePath
    exit $LASTEXITCODE
}

exit 0

SHA-256: 978fa4ca2af067c92bb119d096f09acb3ae79bef6e57285b91a01f421fdfede2