From 04b14806988883862c6991508e4d00e843ab19a0 Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 24 Jun 2005 12:39:11 +0000 Subject: [PATCH] MPV: fix for bug IPAL9221 add script for addind processes to the kill list (addToKillList.py) this script is called by SALOME_Container to register new run-time launched process --- src/Container/SALOME_Container.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Container/SALOME_Container.cxx b/src/Container/SALOME_Container.cxx index f6bb9b0fe..e5308e8ab 100644 --- a/src/Container/SALOME_Container.cxx +++ b/src/Container/SALOME_Container.cxx @@ -155,6 +155,11 @@ int main(int argc, char* argv[]) if(argc > 1){ containerName = argv[1] ; } + + // add new container to the kill list + char aCommand[40]; + sprintf(aCommand, "addToKillList.py %d SALOME_Container", getpid()); + system(aCommand); Engines_Container_i * myContainer = new Engines_Container_i(orb, root_poa, containerName , argc , argv ); -- 2.39.2