echo $currentPort
# --- kill current salome session
-
+${KERNEL_ROOT_DIR}/bin/salome/shutdownSalome.py
${KERNEL_ROOT_DIR}/bin/salome/killSalomeWithPort.py $currentPort
# --- delete config files
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 ;