From 44722b372ebef2605ecd8ca843618c2e65e57f60 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 27 Jun 2023 21:51:14 +0400 Subject: [PATCH] Forward cmake return code --- run_cmake.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run_cmake.py b/run_cmake.py index ccfb873..74f2e1e 100644 --- a/run_cmake.py +++ b/run_cmake.py @@ -66,6 +66,4 @@ def run(project, arguments, buildType=''): os.remove(full) print('Cleared previous.') os.chdir(basePath) - subprocess.call(command, shell=True) - - return 0 + return subprocess.call(command, shell=True)