AsyncSubprocessPlugin¶
AsyncSubprocessPlugin
¶
Bases: StateMachinePlugin
Async subprocess interception plugin.
Replaces asyncio.create_subprocess_exec and asyncio.create_subprocess_shell with fake implementations at activate() time and restores the originals at deactivate() time. Uses reference counting so nested sandboxes work correctly.
States: created -> running -> terminated
Source code in src/bigfoot/plugins/async_subprocess_plugin.py
activate
¶
Reference-counted class-level patch installation.
Source code in src/bigfoot/plugins/async_subprocess_plugin.py
matches
¶
Field-by-field comparison with dirty-equals support.
Source code in src/bigfoot/plugins/async_subprocess_plugin.py
assertable_fields
¶
Return assertable fields for each step type.