open-simulation-platform / cosim-cli

Command-line interface for libcosim
https://open-simulation-platform.github.io/cosim
Mozilla Public License 2.0
10 stars 4 forks source link

Make cache directory configurable #75

Closed kyllingstad closed 4 years ago

kyllingstad commented 4 years ago

Besides the fact that it may be nice to let users decide for themselves where (possibly quite large amounts of) data are stored, I have a very concrete use case for this: Running misbehaving FMUs that treat their own unpack/resource directories as writable. I've come across a few of those.

An environment variable (COSIM_CACHE_PATH) might be a good way to do this.