]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Save logger.log file in $HOME directory
authorabd <abd@opencascade.com>
Thu, 17 Aug 2006 13:13:48 +0000 (13:13 +0000)
committerabd <abd@opencascade.com>
Thu, 17 Aug 2006 13:13:48 +0000 (13:13 +0000)
bin/runSalome.py

index 0100a9b54ca54b4c05c1322588e88e4789ff8a5b..7473fab534840c555db53649bab57dfc21fd0fbe 100755 (executable)
@@ -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']
 
 # ---