Run staged Python file in AppContainer probe
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user