mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Don't use shell for Windows and exec commands
This commit is contained in:
@ -261,8 +261,7 @@ def exec_command(*args, **kwargs):
|
|||||||
|
|
||||||
default = dict(
|
default = dict(
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE)
|
||||||
shell=system() == "Windows")
|
|
||||||
default.update(kwargs)
|
default.update(kwargs)
|
||||||
kwargs = default
|
kwargs = default
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user