Run approved commands with a fixed minimal environment
ABSDEV Framework CI / framework-ci (push) Successful in 25s
ABSDEV Framework CI / framework-ci (push) Successful in 25s
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user