Skip to content
Snippets Groups Projects
Commit c57955e2 authored by Campbell Barton's avatar Campbell Barton
Browse files

set the CWD running the compiler, happens to work without it but better set.

parent 862eb8ab
Branches
Tags
No related merge requests found
......@@ -47,6 +47,7 @@ def find_build_args_ninja(source):
make_exe = "ninja"
process = subprocess.Popen([make_exe, "-t", "commands"],
stdout=subprocess.PIPE,
cwd=BUILD_DIR,
)
while process.poll():
time.sleep(1)
......@@ -61,6 +62,7 @@ def find_build_args_make(source):
make_exe = "make"
process = subprocess.Popen([make_exe, "--always-make", "--dry-run", "--keep-going", "VERBOSE=1"],
stdout=subprocess.PIPE,
cwd=BUILD_DIR,
)
while process.poll():
time.sleep(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment