Skip to content

Commit 44a810c

Browse files
committed
.# Please enter the commit message for your changes. Lines starting
1 parent 4075b04 commit 44a810c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

python/src/apbs_binary/executable.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,16 @@ def process_run(
6464
def process_run(
6565
bin_name, *args: str, return_completed_process: bool = False, **kwargs: Any
6666
) -> int | subprocess.CompletedProcess[str | bytes]:
67-
# if mac arm64, set DYLD_LIBRARY_PATH
68-
if sys.platform == "darwin" and platform.processor() == "arm":
69-
my_env = os.environ.copy()
70-
my_env["DYLD_LIBRARY_PATH"] = str(LIB_DIR)
71-
complete_process = subprocess.run(
72-
[bin_path(bin_name), *args], env=my_env, **kwargs
73-
)
74-
else:
75-
complete_process = subprocess.run([bin_path(bin_name), *args], **kwargs)
67+
# # if mac arm64, set DYLD_LIBRARY_PATH
68+
# if sys.platform == "darwin" and platform.processor() == "arm":
69+
# my_env = os.environ.copy()
70+
# my_env["DYLD_LIBRARY_PATH"] = str(LIB_DIR)
71+
# complete_process = subprocess.run(
72+
# [bin_path(bin_name), *args], env=my_env, **kwargs
73+
# )
74+
# else:
75+
# complete_process = subprocess.run([bin_path(bin_name), *args], **kwargs)
76+
complete_process = subprocess.run([bin_path(bin_name), *args], **kwargs)
7677

7778
if return_completed_process:
7879
return complete_process

0 commit comments

Comments
 (0)