]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx
no message
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.cxx
index 02a6ecff24fd4c3534d4aa4747944e0ede9bff19..2b1cf5fc7ddac2fc11e2a3dbc3dbfa4d2ccb7395 100644 (file)
@@ -385,38 +385,20 @@ namespace bbtk
                tempFile.close();
 
                std::string command = "";
-
-               #ifdef WIN32
-                       command += "\"";
-               #endif
-               command += "\""+ crea::System::GetExecutablePath();
-
-
-#ifdef MACOSX
-               command += separator + "../../../bbi.app/Contents/MacOS";
+               
+#ifdef WIN32
+               command += "start /b ";
 #endif
-
-
-               /*
-
-               //command += ConfigurationFile::GetInstance().Get_bin_path();
-//EED          command +="C:/temp/bbtkBIN/RelWithDebInfo//";
-//EED          command +="C:/Program Files/CreaTools/bbtk-0.9.5/bin";
-
-
-               #ifdef MACOSX
-                       command += separator + "usr/local/bin/bbi.app/Contents/MacOS/bbi\" ";
-               #else
-                   command +=".";
-                       command += separator + "bbi\" ";
-               #endif
- */
-               command += separator + "bbi\" ";
+               
+               
+//             command += "\""+ crea::System::GetExecutablePath();
+//#ifdef MACOSX
+//             command += separator + "../../../bbi.app/Contents/MacOS";
+//#endif
+                               
+               command +=  "bbi ";
                command += "\""+filename + "\"";
-               #ifdef WIN32
-                       command += "\"";
-               #endif
-
+               
         #ifndef WIN32
             command += " & ";
                #endif