summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_node.py2
-rw-r--r--tools/util.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/run_node.py b/tools/run_node.py
index afa861020..4f6c87b91 100755
--- a/tools/run_node.py
+++ b/tools/run_node.py
@@ -16,4 +16,4 @@ target_abs = os.path.join(third_party_path, "node_modules")
target_rel = os.path.relpath(target_abs)
util.remove_and_symlink(target_rel, "node_modules", True)
-util.run(["node"] + sys.argv[1:])
+util.run(["node"] + sys.argv[1:], quiet=True)
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.