[core] add quotes on strings

to deal with space characters on command line
This commit is contained in:
Fabien Castan 2018-01-05 16:59:31 +01:00
parent 576124a342
commit 8e1452d5bc
3 changed files with 5 additions and 3 deletions

View file

@ -44,7 +44,7 @@ class SimpleFarmSubmitter(BaseSubmitter):
task = simpleFarm.Task(
name=node.nodeType,
command='meshroom_compute --node {nodeName} {meshroomFile} {parallelArgs} --extern'.format(
command='meshroom_compute --node {nodeName} "{meshroomFile}" {parallelArgs} --extern'.format(
nodeName=node.name, meshroomFile=meshroomFile, parallelArgs=parallelArgs),
tags=tags,
rezPackages=[self.MESHROOM_PACKAGE],