Apparently, LibraryFunctionLoad
has an option "AutomaticDelete"
with default setting Automatic
. The documentation page is silent about how this works. Can I use this to clean up temporary files (as asked in this question)? How does this option work in general?
Answer
Making my comments into an answer,
Setting
"AutomaticDelete" -> True
will cause the DLL file to be deleted when the library is unloaded.At the moment the default setting of
Automatic
meansFalse
, except when called internally for aCompile
-generated DLL.
Comments
Post a Comment