Don't use shell for Windows and exec commands

This commit is contained in:
Ivan Kravets
2016-08-17 17:38:20 +03:00
parent 64cc353455
commit b2e6d16221

View File

@ -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