From: Yoann Audouin Date: Wed, 12 Oct 2022 08:28:39 +0000 (+0200) Subject: Removing 30s limit on QProcess X-Git-Tag: V9_10_0b1~4^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9bfa36efab8c9847238524fbaeb7313859f19583;p=plugins%2Fnetgenplugin.git Removing 30s limit on QProcess --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx index f66cf75..16311c7 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_Remote.cxx @@ -300,7 +300,9 @@ bool NETGENPlugin_NETGEN_3D_Remote::Compute(SMESH_Mesh& aMesh, myProcess.setStandardOutputFile(out_file); myProcess.start(program, arguments); - myProcess.waitForFinished(); + // Waiting for process to finish (argument -1 make it wait until the end of + // the process otherwise it just waits 30 seconds) + myProcess.waitForFinished(-1); int ret = myProcess.exitStatus(); if(ret != 0){