for aKey in ("containers","embedded","key","modules","standalone"):
if not args.has_key(aKey):
args[aKey]=[]
-for aKey in ("gui","logger","file","xterm","portkill","killall"):
+for aKey in ("gui","logger","file","xterm","portkill","killall","interp"):
if not args.has_key(aKey):
args[aKey]=0
if args["file"]:
s = file.read()
while len(s):
l = string.split(s, ":")
- if string.split(l[0], " ")[0] == "ORBInitRef":
+ if string.split(l[0], " ")[0] == "ORBInitRef" or string.split(l[0], " ")[0] == "InitRef" :
my_port = int(l[len(l)-1])
pass
s = file.read()
opterror=0
for opt in opts:
- if not opt in ("h","g","l","f","x","m","e","s","c","p","k","t"):
+ if not opt in ("h","g","l","f","x","m","e","s","c","p","k","t","i"):
print "command line error: -", opt
opterror=1
--containers=cpp,python,superv: (obsolete) launching of containers cpp, python and supervision
or -c=cpp,python,superv : = get default from -e and -s
--portkill or -p : kill the salome with current port
- --killall or -k : kill salome
+ --killall or -k : kill all salome sessions
+ --interp=n or -i=n : number of additional xterm to open, with session environment
For each Salome module, the environment variable <modulen>_ROOT_DIR must be set.
The module name (<modulen>) must be uppercase.
args['file'] = opts['f']
elif opt == 'x':
args['xterm'] = 1
+ elif opt == 'i':
+ args['interp'] = opts['i']
elif opt == 'm':
args['modules'] = opts['m']
elif opt == 'e':