Skip to main content

Module env

Module env 

Source
Expand description

Export of the dispatcher → plugin environment contract.

See docs/contracts/env-vars.md. The dispatcher SHOULD clear unknown READY_SET_* variables from the parent environment before exec to avoid injection from the calling shell.

Structs§

EnvContract
Settings exported as the dispatcher → plugin env contract.

Functions§

export_contract
Apply the env contract to cmd. Clears any pre-existing READY_SET_* variable from the child env that this function does not explicitly set, so plugins never see stale values from the calling shell.