aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/utils.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-23 23:57:05 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-24 00:04:22 +0300
commit7a48deafe7615392b458681bd23e6136ed20deb6 (patch)
treef49550c23d0858632bfc96f614e6d71b90598293 /project/utils.py
parentproject.utils: log to stdout, not stderr (diff)
downloadcmake-common-7a48deafe7615392b458681bd23e6136ed20deb6.tar.gz
cmake-common-7a48deafe7615392b458681bd23e6136ed20deb6.zip
project.cmake: set CMAKE_BUILD_PARALLEL_LEVEL
Diffstat (limited to '')
-rw-r--r--project/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/utils.py b/project/utils.py
index 868592a..f40767a 100644
--- a/project/utils.py
+++ b/project/utils.py
@@ -47,9 +47,9 @@ def cd(path):
os.chdir(cwd)
-def run(cmd_line):
+def run(cmd_line, **kwargs):
logging.info('Running executable: %s', cmd_line)
- return subprocess.run(cmd_line, check=True)
+ return subprocess.run(cmd_line, check=True, **kwargs)
@contextmanager