Possible to delete TMPDIR when scilab quits?

Hi
Is it possible to delete TMPDIR and its contents when scilab quits ?
Those folders keep after the session with an empty command.temp file inside.
Thanks + kr - Lucien

Hello,

It seems to be a Windows specifc bug, as the command line version deletes it:

C:\>C:/scilab-2024.0.0/bin/Scilex.exe
Scilab 2024.0.0 (Oct 24 2023, 15:08:37)

--> TMPDIR
 TMPDIR  =

  "C:\Users\steph\AppData\Local\Temp\SCI_TMP_7392_14235"

--> exit

C:\>dir C:\Users\steph\AppData\Local\Temp\SCI_TMP_7392_14235
 Volume in drive C has no label.
 Volume Serial Number is EAEF-5460

 Directory of C:\Users\steph\AppData\Local\Temp

File Not Found

but not the gui version. Under macOS and Linux cli and gui versions delete TMPDIR. Can you create an issue at Issues · scilab / scilab · GitLab ?

S.

Done. TMPDIR not deleted on windows when scilab quits (#17220) · Issues · scilab / scilab · GitLab
Thanks for your help

1 Like