Bug #1383
Working directory management
Description
There are some persistent problems with setting up working directories properly. This is partly related to the standalone daemon currently changing the working directory to the guessed 'package' directory. This should really be the configured path from the uweb
util.
The PageMaker
setup classmethod to decide working directory and paths also needs looking at once the deamon path is changed as it makes some assumptions that are based on a faulty situation.
Associated revisions
History
#1 Updated by Elmer de Looff over 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 70
Applied in changeset 41fc66c43f67.
#2 Updated by Elmer de Looff over 11 years ago
- Status changed from Resolved to Closed
- % Done changed from 70 to 100
Running µWeb as a Standalone application no longer changes the working directory beyond the change that the uweb
application may do (to affect loading of the project package). The daemon workdir is set to the current working directory which ensures that all relative paths from that working dir are functional.
Fixed bugs related to working directory detection of the running presenter. The daemon process no longer changes the current working directory and the presenter directory discovery has been updated to work with this. This means that all directories given relative from this presenter now work as expected. This resolves #1383.