Project

General

Profile

Bug #1383

Working directory management

Added by Elmer de Looff about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Elmer de Looff
Category:
Core
Target version:
Start date:
2013-03-19
Due date:
% Done:

100%

Estimated time:
Spent time:

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

Revision 335:41fc66c43f67 (diff)
Added by Elmer de Looff about 11 years ago

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.

History

#1 Updated by Elmer de Looff about 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 about 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.

Also available in: Atom PDF