]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
*** empty log message ***
authortajchman <tajchman>
Mon, 8 Dec 2003 08:57:16 +0000 (08:57 +0000)
committertajchman <tajchman>
Mon, 8 Dec 2003 08:57:16 +0000 (08:57 +0000)
bin/orbmodule.py
bin/runSalome

index bd8e73b7836539e3ac54315d09ccde09dd898c09..1154b010115ea053049afe9ecd91bb3fae8d94eb 100755 (executable)
@@ -21,7 +21,12 @@ class Server:
 
 class NamingServer(Server):
    XTERM=""
-   CMD="runNS.sh > /tmp/salomeNS.log 2>&1"
+   USER=os.getenv('USER')
+   if USER is None:
+      USER='anonymous'
+   LOGDIR="/tmp/logs/" + USER
+   os.system("mkdir -m 777 -p " + LOGDIR)
+   CMD="runNS.sh > " + LOGDIR + "/salomeNS.log 2>&1"
 
 # -----------------------------------------------------------------------------
 
index 7e15dd9f9d8ec6390c2e67c0852347ba7db97d3f..3a3d0e2d2b9adc7ef988ae204cc3c7365d36abd9 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 
-python -i runSalome.py --gui --modules=GEOM,SMESH,VISU,SUPERV,MED --xterm --containers=cpp,python --killall
-#python -i runSalome.py --gui --modules=GEOM,SMESH,VISU,SUPERV,MED --logger --xterm
-#python -i runSalome.py --modules=GEOM,SMESH,VISU,SUPERV,MED
-#python -i runSalome.py --help
+python -i ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --gui --modules=GEOM,SMESH,VISU,SUPERV,MED --xterm --containers=cpp,python --killall
+#python -i ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --gui --modules=GEOM,SMESH,VISU,SUPERV,MED --logger --xterm
+#python -i ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --modules=GEOM,SMESH,VISU,SUPERV,MED
+#python -i ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py --help
 
 # -----------------------------------------------------------------------------
 #