From 51406cfe6ff2ea05f23f4450a1434eb3cf3751c5 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 4 Jul 2022 06:39:08 -0700 Subject: [PATCH] docs: clarify when set_environment_variables is consulted refs: #2211 --- docs/config/lua/config/set_environment_variables.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/config/lua/config/set_environment_variables.md b/docs/config/lua/config/set_environment_variables.md index afdfdee99..65462698f 100644 --- a/docs/config/lua/config/set_environment_variables.md +++ b/docs/config/lua/config/set_environment_variables.md @@ -1,7 +1,10 @@ # `set_environment_variables` -Specifies a map of environment variables that should be set when spawning -commands in the local domain. This is not used when working with remote -domains. +Specifies a map of environment variables that should be set when spawning new +commands in the `"local"` domain. This configuration is consulted at the time +that a program is launched. It is not possible to update the environment of a +running program on any Operating System. + +This is not used when working with remote domains. See also: [Launching Programs](../../launch.html#passing-environment-variables-to-the-spawned-program)