File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/ansys/geometry/core/connection Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1+ adapt Native folder path for Linux and Windows
Original file line number Diff line number Diff line change @@ -386,6 +386,13 @@ def prepare_and_start_backend(
386386 cad_integration_folder = root_service_folder / "CADIntegration"
387387 schema_folder = root_service_folder / "Schema"
388388
389+ # Adapt the native folder to the OS
390+ # The native folder is different for Windows and Linux.
391+ if os .name == "nt" :
392+ native_folder = native_folder / "Windows"
393+ else :
394+ native_folder = native_folder / "Linux"
395+
389396 # Set the environment variables for the Ansys Geometry Core Service launch
390397 # ANS_DSCO_REMOTE_IP should be variable "host" directly, but not working...
391398 env_copy ["ANS_DSCO_REMOTE_IP" ] = "127.0.0.1" if host == "localhost" else host
You can’t perform that action at this time.
0 commit comments