bundled_bwrap#
Run commands and agent-written programs inside an operating-system boundary. See the guide.
- zett_agent.sandbox.binaries.bundled_bwrap(machine=None, *, platform_name=None)[source]#
Return the bubblewrap shipped for this Linux machine, or None when there is none.
- Parameters:
machine (str | None) –
platform.machine()value to resolve; this machine’s by default.platform_name (str | None) –
sys.platformvalue to check; this machine’s by default. Both exist so a test can ask what another platform would get.
- Return type:
Path | None
Only Linux consults the bundle, and only an architecture with a build gets one.