Skip to content

Commit

Permalink
Merge pull request #2093 from alicevision/dev/executeCmdInNodeFolder
Browse files Browse the repository at this point in the history
[core] Execute command line from node folder
  • Loading branch information
cbentejac committed Jul 4, 2023
2 parents a69104e + b8be831 commit 318a0b5
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 318a0b5

Please sign in to comment.