Skip to content
Snippets Groups Projects
Verified Commit 8962a9d5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Windows: apply the workaround for +<basename> removal to +objective subfolder

Because MATLAB under Windows maintains a lock on the “+<basename>” subdirectory,
we use a workaround consisting in first renaming the directory, then deleting
it.

But this is not enough when the “ramsey_policy” command is used, because the
latter creates a “+objective” subfolder inside “+<basename>”, on which MATLAB
also maintains a lock.

The fix consists in recursively using the same workaround as for the top-level
directory: renaming before deleting.
parent 3f3ef7ca
No related branches found
No related tags found
No related merge requests found
Pipeline #2553 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment