Application.TempDir (gb)

Static Property Read TempDir As String

Dal 3.19

Return the directory where the temporary files of the current process are stored.

It's normally /tmp/gambas.<user id>/<process id>, but some beasts like SystemD can change that.

On older versions of Gambas, File.Dir(Temp$()) can be used to get that directory.