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() );