Ah, ok. Got you now! Indeed, with the “home” interface it should work how you described. But I’ve looked at https://snapcraft.io/docs/reference/interfaces, where it states “Can access non-hidden files in user’s $HOME”. So I came to another conclusion…
But another problem for rem is $PATH. Rem can be used to store commands and execute them later on. Think about rem like something like alias or make.
I’ll give you an example: Given I initialise in the directory $HOME/dev/myapp a local .rem file with rem here. And I will save a command in this directory with rem, and this command would be “docker run …”. When running this command later on with (snap-packaged) rem, I would get following error:
exec: “docker”: executable file not found in $PATH
Does $PATH consists for a running snap app only of /snap/bin/?