run commands with shell=True

appears to be needed on Windows,
and should be harmless elsewhere.
This commit is contained in:
Min RK 2015-08-20 16:40:42 -07:00
parent 931fbb4f50
commit f1396457fb

View File

@ -297,6 +297,7 @@ def mtime(path):
def run(cmd, *args, **kwargs):
"""Echo a command before running it"""
log.info(" ".join(cmd))
kwargs.setdefault('shell', True)
return check_call(cmd, *args, **kwargs)