From: tajchman Date: Mon, 8 Dec 2003 08:57:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a5e8f114e0ff20461e25c07a72c81f4f46ac7de;p=modules%2Fkernel.git *** empty log message *** --- 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 # ----------------------------------------------------------------------------- #