From 69a1f157ac830185db2e4bca650cfa718b96e46d Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Mon, 16 Dec 2019 20:10:04 +0100 Subject: [PATCH] [nodes] CameraInit: remove subprocess wait (communicate is enough) --- meshroom/nodes/aliceVision/CameraInit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/nodes/aliceVision/CameraInit.py b/meshroom/nodes/aliceVision/CameraInit.py index 0c01b41c..22c0ccab 100644 --- a/meshroom/nodes/aliceVision/CameraInit.py +++ b/meshroom/nodes/aliceVision/CameraInit.py @@ -186,7 +186,7 @@ class CameraInit(desc.CommandLineNode): # logging.debug(' - commandLine:', cmd) proc = psutil.Popen(cmd, stdout=None, stderr=None, shell=True) stdout, stderr = proc.communicate() - proc.wait() + # proc.wait() if proc.returncode != 0: raise RuntimeError('CameraInit failed with error code {}.\nCommand was: "{}".\n'.format( proc.returncode, cmd)