iceoryx2
iceoryx2 copied to clipboard
Temp files on Windows
- Consider using
std::env::temp_dir()for temp files, as it is the standard location. However, ANSI APIs may not play well with some usernames. - Consider relaxing the initial privileges for temp files. Currently admin privileges are required for removing some of them, so the program itself cannot clean up the resources after being ended in task manager.
@gyk
However, ANSI APIs may not play well with some usernames.
This is why we initially decided against it and used C:\Temp. But you can override the default folder via the iceoryx2 config and choose whatever you want, see https://github.com/eclipse-iceoryx/iceoryx2/tree/main/config
Consider relaxing the initial privileges for temp files.
This makes sense! We will look into it.
Thanks! Didn't know it is configurable.