]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Now using salome_iapp.IN_SALOME_GUI' to detect if invoked from GUI.
authorabn <adrien.bruneton@cea.fr>
Wed, 1 Oct 2014 15:18:32 +0000 (17:18 +0200)
committerabn <adrien.bruneton@cea.fr>
Wed, 1 Oct 2014 15:18:32 +0000 (17:18 +0200)
src/SalomeApp/SalomeApp_PyInterp.cxx

index 94ffa6c7bb0ae7a42be5c64b577055e92b7e417b..3adde1b6be2c319e0192abedb15dd88242be7f0d 100755 (executable)
@@ -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;
 }