mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Pass environment variables to subprocess
This commit is contained in:
@ -189,7 +189,8 @@ def exec_command(*args, **kwargs):
|
||||
default = dict(
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
shell=system() == "Windows"
|
||||
shell=system() == "Windows",
|
||||
env=os.environ
|
||||
)
|
||||
default.update(kwargs)
|
||||
kwargs = default
|
||||
|
Reference in New Issue
Block a user