]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIScriptingInterface.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUIScriptingInterface.cxx
index 327d79eb56f2c98d966b2f9a461104fd25be23d2..fd43191ca23f7d87f002f54782ba81876788450f 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
   Language:  C++
-  Date:      $Date: 2010/01/14 13:17:27 $
-  Version:   $Revision: 1.41 $
+  Date:      $Date: 2010/03/19 08:18:41 $
+  Version:   $Revision: 1.42 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -441,14 +441,14 @@ namespace bbtk
          std::string filename = dir + separator + "tmp_bbtk.bbs";
          mWxGUITextEditor->GetCurrentPage()->SaveFile(filename);
        
-               std::string command = "\"";
+               std::string command = "\"\"";
          command += ConfigurationFile::GetInstance().Get_bin_path();
 #ifdef MACOSX
          command += separator + "bbi.app/Contents/MacOS/bbi\" ";
 #else 
-         command += separator + "bbi\" ";
+         command += separator + "bbi.exe\" ";
 #endif
-         command += "\""+filename + "\"";
+         command += "\""+filename + "\"\"";
          command += " & ";
          
          printf ("EED WxGUIScriptingInterface::WxGUITextEditorRunBBI %s \n" , command.c_str() );