Functions | |
def | findFileDict () |
adds to the kill list of SALOME one more process ########## More... | |
def | addToKillList (command_pid, command, port=None) |
def | killList (port=None) |
def addToKillList.addToKillList | ( | command_pid, | |
command, | |||
port = None |
|||
) |
Add the process to the SALOME processes dictionary file. Parameters: - command_pid : command PID - command : command (string or list of strings) - [port] : SALOME port number; if this parameter is None (default), it is detected automatically
References findFileDict(), killSalomeWithPort.getPiDict(), salome_utils.makeDir(), and virtual_salome.verbose.
def addToKillList.findFileDict | ( | ) |
adds to the kill list of SALOME one more process ##########
Detect current SALOME session's port number. Returns port number.
References salome_utils.getPortNumber(), and virtual_salome.verbose.
Referenced by addToKillList(), and killList().
def addToKillList.killList | ( | port = None | ) |
Kill all the processes listed in the SALOME processes dictionary file. - [port] : SALOME port number; if this parameter is None (default), it is detected automatically
References findFileDict(), killSalomeWithPort.getPiDict(), and virtual_salome.verbose.
Referenced by salomeContext.SalomeContext._killAll(), and runSalomeNoServer.main().