]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
try to quit Salome as clean as possible
authorsecher <secher>
Wed, 11 Jul 2007 13:14:20 +0000 (13:14 +0000)
committersecher <secher>
Wed, 11 Jul 2007 13:14:20 +0000 (13:14 +0000)
bin/appliskel/killCurrentPort
src/ModuleCatalog/SALOME_ModuleCatalog_Server.cxx
src/ResourcesManager/SALOME_ResourcesManager.cxx

index e1eb19268841407a2ff193bcd24ab5147497697f..41b14866a4f940b78bfebfd26bb6cd023af2c175 100755 (executable)
@@ -21,7 +21,7 @@ currentPort=`${KERNEL_ROOT_DIR}/bin/salome/NSparam.py port`
 echo $currentPort
 
 # --- kill current salome session
-
+${KERNEL_ROOT_DIR}/bin/salome/shutdownSalome.py
 ${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py $currentPort
 
 # --- delete config files
index 8c501ccb79dd48e71cdd983eaed5f4c7e004bb16..735ff5b13264ec8edaf57070e03758b6d19d66b7 100644 (file)
@@ -173,6 +173,7 @@ int main(int argc,char **argv)
     INFOS("Caught CORBA::Exception.")
       }
 
+  END_OF( argv[0] );
   //  delete myThreadTrace;
   return 0;
 }
index e0b17b02830ad24f8ef55d86c63c8a35edd1c8d7..bec7fff69572830efa0f4fbcc038eff7ea7f1d7c 100644 (file)
@@ -647,7 +647,7 @@ std::string SALOME_ResourcesManager::BuildCmdrunSalomeBatch(
   tempOutputFile << "  sleep 1" << endl ;
   tempOutputFile << "  ./runSession waitContainers.py $arglist" << endl ;
   tempOutputFile << "  ./runSession python ~/" << DirForTmpFiles << "/" << FileNameToExecute << ".py" << endl;
-  tempOutputFile << "  ./runSession shutdownSalome.py" << endl;
+  tempOutputFile << "  ./runSession killCurrentPort" << endl;
   tempOutputFile << "else" << endl ;
   tempOutputFile << "  sleep 1" << endl ;
   tempOutputFile << "  ./runSession waitNS.py" << endl ;