Current directory set to purebasic.exe parent dir instead of temp for unsaved source file?

Post bugs related to the IDE here
nsstudios
Enthusiast
Enthusiast
Posts: 275
Joined: Wed Aug 28, 2019 1:01 pm
Location: Serbia
Contact:

Current directory set to purebasic.exe parent dir instead of temp for unsaved source file?

Post by nsstudios »

I don't know how long this has been a thing, but I've just noticed that the current/working directory for source files that haven't been saved (yet) defaults to purebasic.exe parent dir (e.g., c:\program files\PureBasic), instead of the temp dir where the temp .pb file and potentially executable if ran as debug would be at.
I am curious if this is on purpose, if not I think this should not be the case.