From b8be831310d92f1701b713c3bea7910f4c7e1651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20De=20Lillo?= Date: Fri, 30 Jun 2023 17:26:36 +0200 Subject: [PATCH] [core] desc: Execute command-line in node folder --- meshroom/core/desc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/core/desc.py b/meshroom/core/desc.py index f2df5988a5..bf581d5618 100644 --- a/meshroom/core/desc.py +++ b/meshroom/core/desc.py @@ -626,7 +626,7 @@ def processChunk(self, chunk): chunk.saveStatusFile() print(' - commandLine: {}'.format(cmd)) print(' - logFile: {}'.format(chunk.logFile)) - chunk.subprocess = psutil.Popen(shlex.split(cmd), stdout=logF, stderr=logF) + chunk.subprocess = psutil.Popen(shlex.split(cmd), stdout=logF, stderr=logF, cwd=chunk.node.internalFolder) # store process static info into the status file # chunk.status.env = node.proc.environ()