Salome HOME
In CancelCompute() kill "sh -c mg-tetra.exe ..." command as well as "mg-tetra.exe...
authoreap <eap@opencascade.com>
Tue, 9 Jul 2013 15:49:59 +0000 (15:49 +0000)
committereap <eap@opencascade.com>
Tue, 9 Jul 2013 15:49:59 +0000 (15:49 +0000)
src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index e2e07f879bb008fec14f560a751b9c5bd014c00d..ab9e086422fd2d9b7a532bf008638d834b59b46c 100644 (file)
@@ -3750,7 +3750,7 @@ void GHS3DPlugin_GHS3D::CancelCompute()
 #ifdef WNT
 #else
   std::string cmd = "ps xo pid,args | grep " + _genericName;
-  cmd += " | grep -e \"^ *[0-9]\\+ \\+" + GHS3DPlugin_Hypothesis::GetExeName() + "\"";
+  //cmd += " | grep -e \"^ *[0-9]\\+ \\+" + GHS3DPlugin_Hypothesis::GetExeName() + "\"";
   cmd += " | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1";
   system( cmd.c_str() );
 #endif