Skip to content

Commit

Permalink
Update src/ansys/mapdl/core/launcher.py
Browse files Browse the repository at this point in the history
Co-authored-by: Camille <78221213+clatapie@users.noreply.github.com>
  • Loading branch information
germa89 and clatapie authored Mar 20, 2024
1 parent f50a0c6 commit 8f9efa9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ansys/mapdl/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,11 @@ def get_start_instance(start_instance: bool = True):
Raised when ``PYMAPDL_START_INSTANCE`` is not either true or false
(case independent).
Notes
-----
If the environment variable ``PYMAPDL_START_INSTANCE`` is set,
hence the argument ``start_instance`` is overwritten.
"""
if "PYMAPDL_START_INSTANCE" in os.environ and os.environ["PYMAPDL_START_INSTANCE"]:
# It should not be empty
Expand Down

0 comments on commit 8f9efa9

Please sign in to comment.