Skip to content

Commit c1c6646

Browse files
germa89clatapie
authored andcommitted
fix: open gui not working (#4270)
* feat(core): add exec_file param to open_gui and improve execable lookup - Add typed exec_file parameter to open_gui and document its behavior. - Defer importing get_mapdl_path and only attempt to resolve the MAPDL executable when ansys.mapdl.core ATP helper is available. - Use start_parm exec_file if provided, otherwise try get_mapdl_path; raise a clear MapdlRuntimeError if no executable path can be determined. - Minor docstring/format tweaks. * fix(core): propagate env_vars into start parameters, avoid circular import, and make MapdlGrpc._launch accept start_parm - Add env_vars to start_parm in launch_mapdl so environment vars are carried in generated start parameters. - Replace import from ansys.mapdl.core.launcher with package-level get_mapdl_path to prevent circular imports. - Update MapdlGrpc._launch signature to accept an optional start_parm, use it when provided, and call _connect() without passing the port explicitly.
1 parent 6bcb192 commit c1c6646

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/changelog.d/4270.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Open gui not working

0 commit comments

Comments
 (0)