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
@@ -0,0 +1,11 @@
"""Harmless smoke payload used only to verify staged Python execution."""
from pathlib import Path
import sys
result = Path(__file__).with_name("execution-result.txt")
result.write_text(
"sandbox-python:" + ".".join(map(str, sys.version_info[:3])),
encoding="ascii",
)
print("sandbox-python-smoke-ok")