From ef0ae39529695ed664dbe16606985fb151a08def Mon Sep 17 00:00:00 2001 From: abn Date: Wed, 1 Oct 2014 17:18:32 +0200 Subject: [PATCH] Now using salome_iapp.IN_SALOME_GUI' to detect if invoked from GUI. --- src/SalomeApp/SalomeApp_PyInterp.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/SalomeApp/SalomeApp_PyInterp.cxx b/src/SalomeApp/SalomeApp_PyInterp.cxx index 94ffa6c7b..3adde1b6b 100755 --- a/src/SalomeApp/SalomeApp_PyInterp.cxx +++ b/src/SalomeApp/SalomeApp_PyInterp.cxx @@ -74,9 +74,6 @@ int SalomeApp_PyInterp::beforeRun() ret = simpleRun( "salome.salome_init(0,1)", false ); if (ret) return ret; - ret = simpleRun( "salome.fromEmbeddedConsole=True", false ); - if (ret) - return ret; } return true; } -- 2.39.2