From 20f5a8e257f22f84614a13b9bfeb21dab64d70c1 Mon Sep 17 00:00:00 2001 From: Florian BRUNET Date: Thu, 18 Jun 2015 11:46:30 +0200 Subject: [PATCH] Switch from runSession to salome shell in the salome shell plugin of GUI. --- src/SalomeApp/pluginsdemo/salome_plugins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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." -- 2.39.2