mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 13:14:15 +02:00
[commons] improvement: allowing extra environments variables to redefine existing values (SimpleProcess)
This commit is contained in:
@@ -96,8 +96,7 @@ class SimpleProcess:
|
||||
|
||||
if extra_env:
|
||||
for var, val in extra_env.items():
|
||||
if var not in env:
|
||||
env[var] = val
|
||||
env[var] = val
|
||||
|
||||
args = {
|
||||
"stdout": subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user