From d78254009e5b39b60433fe5d41354b8419573adc Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 16 Jul 2018 22:40:42 -0400 Subject: Reduce unnecessary build output. --- tools/util.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/util.py') diff --git a/tools/util.py b/tools/util.py index 40c98e336..6874f8000 100644 --- a/tools/util.py +++ b/tools/util.py @@ -4,8 +4,9 @@ import os import subprocess -def run(args): - print " ".join(args) +def run(args, quiet=False): + if not quiet: + print " ".join(args) env = os.environ.copy() if os.name == "nt": # Run through shell to make .bat/.cmd files work. -- cgit v1.2.3