summaryrefslogtreecommitdiffstats
path: root/SCons/Action.xml
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/Action.xml')
-rw-r--r--SCons/Action.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/SCons/Action.xml b/SCons/Action.xml
index 0e3ef33..69781b8 100644
--- a/SCons/Action.xml
+++ b/SCons/Action.xml
@@ -200,4 +200,26 @@ in which the command should be executed.
</summary>
</cvar>
+<cvar name="SHELL_ENV_EXPANDER">
+ <summary>
+ <para>
+A function to obtain the environment dictionary which will be used
+when executing the &cv-link-SPAWN; function. This primarily give the
+user a chance to customize the shell environment for particular Actions.
+It must return a dictionary containing the environment variables as
+keys and the values as values.
+ </para>
+
+ <example_commands>
+def custom_shell_env(env):
+ </example_commands>
+
+ <para>
+ <varname>env</varname>
+The SCons construction environment from which the functionality
+shell environment can be derived from.
+ </para>
+ </summary>
+</cvar>
+
</sconsdoc>