Skip to content

Commit 023d1b9

Browse files
committed
remove cwd option from subprocess run
1 parent d2b4021 commit 023d1b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cime_config/buildlib

+2-2
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ def _build_musica(clone_dest: str) -> str:
298298

299299
command = ["cmake", "--build", ".", "--target", "install"]
300300
try:
301-
subprocess.run(command, cwd=bld_path, stdout=subprocess.PIPE,
302-
stderr=subprocess.PIPE, text=True, check=False)
301+
subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
302+
text=True, check=False)
303303
except subprocess.CalledProcessError as e:
304304
raise subprocess.CalledProcessError(e.returncode, e.cmd, "The subprocess \
305305
for cmake to build the MUSICA library failed.") from e

0 commit comments

Comments
 (0)