Run approved commands with a fixed minimal environment
ABSDEV Framework CI / framework-ci (push) Successful in 25s

This commit is contained in:
Mark Gregory
2026-11-28 13:11:26 +00:00
parent b0dda75809
commit a60a33012b
2 changed files with 23 additions and 0 deletions
+3
View File
@@ -105,6 +105,9 @@ class CommandRunner:
stdout=staged,
stderr=subprocess.DEVNULL,
shell=False,
# Resolve bare executables via the OS default path and
# exclude ambient credentials and runtime overrides.
env={"PATH": os.defpath, "LC_ALL": "C"},
start_new_session=True,
)