]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 19 Mar 2010 08:18:41 +0000 (08:18 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 19 Mar 2010 08:18:41 +0000 (08:18 +0000)
kernel/src/bbtkComplexBlackBox.cxx
kernel/src/bbtkWxGUIScriptingInterface.cxx

index cc9100200841d5a1b1a34d0d994229979ce60945..3625afdb8705fa9d40da4092c59c5ca6be54ac98 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkComplexBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2010/03/06 00:56:41 $
-  Version:   $Revision: 1.31 $
+  Date:      $Date: 2010/03/19 08:18:41 $
+  Version:   $Revision: 1.32 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -724,11 +724,11 @@ namespace bbtk
     fprintf(ff,"}\n");
     fclose(ff);
 
-       //std::cout<<"JCP bbtkComplexBlackBox.cxx execute="<<command1<<std::endl;
+       std::cout<<"JCP bbtkComplexBlackBox.cxx execute1="<<command1<<std::endl;
     // 2. Executing .dot file -> png
     system( command1.c_str() );   
     // 3. Executing .dot file -> cmap
-       std::cout<<"JCP bbtkComplexBlackBox.cxx execute="<<command1a<<std::endl;
+       std::cout<<"JCP bbtkComplexBlackBox.cxx execute2="<<command1a<<std::endl;
     system( command1a.c_str() );  
     
     // 4. HTML code insertion
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() );