Skip to content

Commit 7f212b0

Browse files
committed
Remote Operators Fix3
Signed-off-by: paul.profizi <[email protected]>
1 parent fa84b09 commit 7f212b0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ansys/dpf/core/server_types.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -931,9 +931,7 @@ def __init__(
931931
path_str = "%PATH%"
932932
else:
933933
path_str = "$PATH"
934-
new_path = subprocess.check_output(
935-
["echo", path_str], shell=True
936-
).decode(sys.stdout.encoding)
934+
new_path = subprocess.check_output(["echo", path_str], shell=True, text=True)
937935
os.environ["PATH"] = new_path
938936

939937
@property

0 commit comments

Comments
 (0)