Make the log message in execute_cmd easier to read for local builds

This commit is contained in:
mprahl
2019-09-25 17:30:21 -04:00
parent 1385a1dea3
commit 453d871e03

View File

@@ -39,7 +39,7 @@ def execute_cmd(args, stdout=None, stderr=None, cwd=None):
if stderr and hasattr(stderr, "name"):
out_log_msg += ", stderr log: %s" % stderr.name
log.info("Executing command: %s%s" % (args, out_log_msg))
log.info("Executing the command \"%s\"%s" % (" ".join(args), out_log_msg))
proc = subprocess.Popen(args, stdout=stdout, stderr=stderr, cwd=cwd)
out, err = proc.communicate()