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 $
=========================================================================*/
/* ---------------------------------------------------------------------
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
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 $
=========================================================================*/
/* ---------------------------------------------------------------------
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() );