HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.10, which is no longer officially supported. Click here for the latest version, 2.15!


Environment settings for forked subprocesses.

Backend: <span style="color: purple"><code>pants.core</code></span> Config section: <span style="color: purple"><code>[subprocess-environment]</code></span>

## Basic options

None

## Advanced options

<div style="color: purple"> <h3><code>env_vars</code></h3> <code>--subprocess-environment-env-vars=&quot;['&lt;str&gt;', '&lt;str&gt;', ...]&quot;</code><br> <code>PANTS_SUBPROCESS_ENVIRONMENT_ENV_VARS</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <pre>[ "LANG", "LC&lowbar;CTYPE", "LC&lowbar;ALL" ]</pre></span>

<br>

Environment variables to set for process invocations. Entries are either strings in the form `ENV_VAR=value` to set an explicit value; or just `ENV_VAR` to copy the value from Pants's own environment.

</div> <br>

## Deprecated options

None