]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Merge from Ecole_Ete_a1
authorsmh <smh@opencascade.com>
Tue, 20 Apr 2004 12:26:04 +0000 (12:26 +0000)
committersmh <smh@opencascade.com>
Tue, 20 Apr 2004 12:26:04 +0000 (12:26 +0000)
bin/launchConfigureParser.py

index 27dbfcf33fa7f65e7ee7aa92cb7caad6afa3686a..e1d63aeb9ef4749337d050f3b36eac198ea9dfa7 100755 (executable)
@@ -114,7 +114,7 @@ if not appname:
     sys.exit(1);
 elif not filename or not os.path.exists(filename):
     filename = os.environ["HOME"]+"/."+appname+"/"+appname+".launch"
-    print "Launch configuration file is not exist. Create default:",filename
+    print "Launch configuration file does not exist. Create default:",filename
     os.system("mkdir -p "+os.environ["HOME"]+"/."+appname)
     os.system("cp -f "+os.environ["KERNEL_ROOT_DIR"]+"/bin/"+appname+"/"+appname+".launch "+filename)
     pass
@@ -134,6 +134,13 @@ else:
     args = {}
     pass
 
+# --- args completion
+for aKey in ("containers","embedded","key","modules","standalone"):
+    if not args.has_key(aKey):
+        args[aKey]=[]
+for aKey in ("gui","logger","xterm","portkill","killall"):
+    if not args.has_key(aKey):
+        args[aKey]=0
 args["appname"] = appname
 
 ### searching for my port