]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Switch from runSession to salome shell in the salome shell plugin of GUI. fbt/SalomeShellSession_new_launcher
authorFlorian BRUNET <FB15EB3N@dsp0657834.(none)>
Thu, 18 Jun 2015 09:46:30 +0000 (11:46 +0200)
committerFlorian BRUNET <FB15EB3N@dsp0657834.(none)>
Thu, 18 Jun 2015 09:46:30 +0000 (11:46 +0200)
src/SalomeApp/pluginsdemo/salome_plugins.py

index 2a9655b67c422931ff09dad92482eb8eae73ed5f..caaa76e91965cac94952549370be60e9480b4fd9 100755 (executable)
@@ -271,11 +271,11 @@ def runSalomeShellSession(context):
     kernel_appli_dir = os.environ['KERNEL_ROOT_DIR']
     command = ""
     if os.path.exists("/usr/bin/gnome-terminal"):
-      command = 'gnome-terminal -t "SALOME %s - Shell session" -e %s/runSession &'%(version,kernel_appli_dir)
+      command = 'gnome-terminal -t "SALOME %s - Shell session" -e "%s/salome shell" &'%(version,kernel_appli_dir)
     elif os.path.exists("/usr/bin/konsole"):
-      command = 'PATH="/usr/bin:/sbin:/bin" LD_LIBRARY_PATH="" konsole -e %s/runSession &'%(kernel_appli_dir)
+      command = 'PATH="/usr/bin:/sbin:/bin" LD_LIBRARY_PATH="" konsole -e "%s/salome shell" &'%(kernel_appli_dir)
     elif os.path.exists("/usr/bin/xterm"):
-      command = 'xterm -T "SALOME %s - Shell session" -e %s/runSession &'%(version,kernel_appli_dir)
+      command = 'xterm -T "SALOME %s - Shell session" -e "%s/salome shell" &'%(version,kernel_appli_dir)
     else:
       print "Neither xterm nor gnome-terminal nor konsole is installed."