pymapdl icon indicating copy to clipboard operation
pymapdl copied to clipboard

Temporary directory is not removed when `remove_temp_dir_on_exit` = True

Open germa89 opened this issue 1 year ago • 3 comments

Discussed in https://github.com/ansys/pymapdl/discussions/3244

Originally posted by jinfaz567 July 8, 2024 I set the parameter "remove_temp_dir_on_exit" but it seems doesn't work. I checked the temporary directory. It's still there. This is my code.

from ansys.mapdl.core import launch_mapdl

mapdl = launch_mapdl(jobname="job_1", override=True, remove_temp_dir_on_exit=True)

mapdl.finish()
mapdl.clear()

l = 60
w = 10
h = 6
mapdl.prep7()
mapdl.block(0, l, -w / 2, w / 2, -h / 2, h / 2)
mapdl.finish()

Does anyone know why?

germa89 avatar Jul 08 '24 08:07 germa89