From 4a5e8f114e0ff20461e25c07a72c81f4f46ac7de Mon Sep 17 00:00:00 2001 From: tajchman Date: Mon, 8 Dec 2003 08:57:16 +0000 Subject: [PATCH] *** empty log message *** --- bin/orbmodule.py | 7 ++++++- bin/runSalome | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/bin/orbmodule.py b/bin/orbmodule.py index bd8e73b78..1154b0101 100755 --- a/bin/orbmodule.py +++ b/bin/orbmodule.py @@ -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" # ----------------------------------------------------------------------------- diff --git a/bin/runSalome b/bin/runSalome index 7e15dd9f9..3a3d0e2d2 100755 --- a/bin/runSalome +++ b/bin/runSalome @@ -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 # ----------------------------------------------------------------------------- # -- 2.39.2