Salome HOME
MPV: fix for bug IPAL9221
authormpv <mpv@opencascade.com>
Fri, 24 Jun 2005 12:39:11 +0000 (12:39 +0000)
committermpv <mpv@opencascade.com>
Fri, 24 Jun 2005 12:39:11 +0000 (12:39 +0000)
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

index f6bb9b0fe8de9f11d756cb9c0372a041941a53a0..e5308e8abed868ac511653df8c99b1e67308200b 100644 (file)
@@ -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 );