Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ansys/dpf/core/server_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import os
import socket
import subprocess
import sys
import time
import warnings
import traceback
Expand Down Expand Up @@ -928,7 +929,7 @@ def __init__(
# Update the python os.environment
if not os.name == "posix":
new_path = subprocess.check_output(
["python", "-c", r'import os; print(os.environ["PATH"])'], text=True
[sys.executable, "-c", r'import os; print(os.environ["PATH"])'], text=True
) # pragma: no cover
os.environ["PATH"] = new_path

Expand Down