Run staged Python file in AppContainer probe

This commit is contained in:
Hamza Ayed
2026-10-03 13:17:47 +03:00
parent fc4e9ee40f
commit 5652db5dbc
5 changed files with 354 additions and 48 deletions
@@ -27,7 +27,8 @@ try {
throw 'Could not locate the active Python runtime to test isolated Python execution.'
}
$env:SOVEREIGNAI_PYTHON_HOME = $pythonHome
& $exe
$driver = Join-Path $PSScriptRoot 'run_appcontainer_probe.py'
& python $driver $exe
$probeExit = $LASTEXITCODE
if ($probeExit -ne 0) {
throw "AppContainer probe failed with exit code $probeExit"