Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-01-26 04:53:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-01-26 04:53:42 +0300
commit19b1b45d715e9c9bb20df77b02dd2943f28cd157 (patch)
tree7f6718c61dd6fc16b64400a32802d1d113eca1a6 /build_files
parent9b96dd0f6157fabf0f267ece54fa604094ba303c (diff)
make_quickie: replace os.system w/ subprocess.call
Diffstat (limited to 'build_files')
-rwxr-xr-xbuild_files/cmake/example_scripts/make_quicky.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build_files/cmake/example_scripts/make_quicky.py b/build_files/cmake/example_scripts/make_quicky.py
index 49c284e354d..a1334d6fc83 100755
--- a/build_files/cmake/example_scripts/make_quicky.py
+++ b/build_files/cmake/example_scripts/make_quicky.py
@@ -107,12 +107,12 @@ def main():
return
# execute
- cmd = "make %s %s blender/fast" % (" ".join(args), " ".join(targets_new))
+ cmd = ["make"] + args + targets_new + ["blender/fast"]
print("cmake building with targets: %s" % " ".join(targets_new))
- print("executing: %s" % cmd)
+ print("executing: %s" % " ".join(cmd))
- import os
- os.system(cmd)
+ import subprocess
+ subprocess.call(cmd)
if __name__ == "__main__":
main()