forked from platformio/platformio-core
Don't use shell for Windows and exec commands
This commit is contained in:
1 parent
64cc353455
commit
b2e6d16221
1 file changed
+1
-2
+1
-2
@@ -261,8 +261,7 @@ def exec_command(*args, **kwargs):
|
||||
|
||||
default = dict(
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
shell=system() == "Windows")
|
||||
stderr=subprocess.PIPE)
|
||||
default.update(kwargs)
|
||||
kwargs = default
|
||||
|
||||
|
||||
Reference in new issue
Block a user