Skip to content

Commit

Permalink
Fix the fix (#1453)
Browse files Browse the repository at this point in the history
Signed-off-by: paul.profizi <[email protected]>
  • Loading branch information
PProfizi authored Mar 4, 2024
1 parent 766cc63 commit caa116d
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit caa116d

Please sign in to comment.