Skip to content

Commit d205ef7

Browse files
committed
[ModelicaSystem] tempdir
1 parent b4a1615 commit d205ef7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def setTempDirectory(self, customBuildDirectory):
277277
raise IOError(self.tempdir, " cannot be created")
278278

279279
logger.info("Define tempdir as %s", self.tempdir)
280-
exp = f'cd("{pathlib.Path(self.tempdir).as_posix()}")'
280+
exp = f'cd("{pathlib.Path(self.tempdir).absolute().as_posix()}")'
281281
self.sendExpression(exp)
282282

283283
def getWorkDirectory(self):

0 commit comments

Comments
 (0)