fix: support dense reconstruction path with spaces

related #1006
pull/1007/head
mordka 2019-07-08 17:15:59 +02:00
rodzic 285c5995a5
commit 1d9baff4ed
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -119,7 +119,7 @@ class ODMMveStage(types.ODM_Stage):
retry_count = 1
while retry_count < 10:
try:
system.run('%s %s %s' % (context.dmrecon_path, ' '.join(dmrecon_config), tree.mve), env_vars={'OMP_NUM_THREADS': args.max_concurrency})
system.run('%s "%s" "%s"' % (context.dmrecon_path, ' '.join(dmrecon_config), tree.mve), env_vars={'OMP_NUM_THREADS': args.max_concurrency})
break
except Exception as e:
if str(e) == "Child returned 134" or str(e) == "Child returned 1":