Skip to main content

child_env

Function child_env 

Source
pub fn child_env() -> Vec<(&'static str, String)>
Expand description

Variables every child process gets, as pi sets them on its own process: the agent markers PI_CODING_AGENT=true and AI_AGENT=yapi, the offline variables in offline mode, YAPI_PROJECT_ONLY=1 in project-only mode, and the proxy from the httpProxy setting where the environment has none.