So duh, you launch a new process and so it’s a different session, any changes to
sys.path aren’t carried over. Maybe there’s something else at play but that seems like a logical explanation.
This isn’t ideal. I can slap a setup script on an empty to waltz around it (and I’ve done so for years) but it’s kind of dull. Yes, yes, this is what launchers are for, and I don’t want to make a launcher everytime I’m just running tests on a random file.
What I’d like is to have a resource var listing directories and automatically append that at startup if any of the directories are missing from path. I’m not saying “be nice if”, I’m saying I’m trying to figure out how to do it.
Now having the resources list (and writting that to a file if necessary), that’s easy. But where to place the path-appending hook? Any ideas?