Skip to content

Commit

Permalink
[core] desc: Execute command-line in node folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoire-dl committed Jun 30, 2023
1 parent d7e3003 commit b8be831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshroom/core/desc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b8be831

Please sign in to comment.