> > Yes they can. They should all run from the main web2py folder (do not > > use os.chdir(...)!) > > Digression: I'd like to fix that eventually. It's not so bad to require the > cwd to be web2py for startup, but it shouldn't matter after that.
I think it's a bad idea to use os.chdir because AFAIK it's not thread- safe. If you do os.chdir in one thread (or even process?) it has effect on all threads (and processes?), which seems very dangerous.