From: Florian BRUNET Date: Thu, 18 Jun 2015 09:46:30 +0000 (+0200) Subject: Switch from runSession to salome shell in the salome shell plugin of GUI. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e1b4c9a988fb2ca50536e9e35b49323c0e92144;p=modules%2Fgui.git Switch from runSession to salome shell in the salome shell plugin of GUI. --- diff --git a/src/SalomeApp/pluginsdemo/salome_plugins.py b/src/SalomeApp/pluginsdemo/salome_plugins.py index 2a9655b67..caaa76e91 100755 --- a/src/SalomeApp/pluginsdemo/salome_plugins.py +++ b/src/SalomeApp/pluginsdemo/salome_plugins.py @@ -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."