diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-23 23:57:05 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 00:04:22 +0300 |
commit | 7a48deafe7615392b458681bd23e6136ed20deb6 (patch) | |
tree | f49550c23d0858632bfc96f614e6d71b90598293 /project/utils.py | |
parent | project.utils: log to stdout, not stderr (diff) | |
download | cmake-common-7a48deafe7615392b458681bd23e6136ed20deb6.tar.gz cmake-common-7a48deafe7615392b458681bd23e6136ed20deb6.zip |
project.cmake: set CMAKE_BUILD_PARALLEL_LEVEL
Diffstat (limited to 'project/utils.py')
-rw-r--r-- | project/utils.py | 4 |
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 |