From: abd Date: Thu, 17 Aug 2006 13:13:48 +0000 (+0000) Subject: Save logger.log file in $HOME directory X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a089ca97258de9c2f86393011921736ed64e21b6;p=modules%2Fkernel.git Save logger.log file in $HOME directory --- diff --git a/bin/runSalome.py b/bin/runSalome.py index 0100a9b54..7473fab53 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -187,7 +187,10 @@ class LoggerServer(Server): def __init__(self,args): self.args=args self.initArgs() - self.CMD=['SALOME_Logger_Server', 'logger.log'] + if sys.platform == "win32": + self.CMD=['SALOME_Logger_Server', os.environ["HOME"] + "/logger.log"]; + else: + self.CMD=['SALOME_Logger_Server', 'logger.log'] # ---