From 02a30f66fd12ffe1262aba8875aa275e00d24489 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Tue, 30 Mar 2010 07:33:43 +0000 Subject: [PATCH] *** empty log message *** --- kernel/src/bbtkWxGUIScriptingInterface.cxx | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/kernel/src/bbtkWxGUIScriptingInterface.cxx b/kernel/src/bbtkWxGUIScriptingInterface.cxx index fd43191..381961c 100644 --- a/kernel/src/bbtkWxGUIScriptingInterface.cxx +++ b/kernel/src/bbtkWxGUIScriptingInterface.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $ Language: C++ - Date: $Date: 2010/03/19 08:18:41 $ - Version: $Revision: 1.42 $ + Date: $Date: 2010/03/30 07:33:43 $ + Version: $Revision: 1.43 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -441,14 +441,24 @@ namespace bbtk std::string filename = dir + separator + "tmp_bbtk.bbs"; mWxGUITextEditor->GetCurrentPage()->SaveFile(filename); - std::string command = "\"\""; + std::string command = "\""; + +#ifdef WIN32 + command += "\""; +#endif + command += ConfigurationFile::GetInstance().Get_bin_path(); #ifdef MACOSX command += separator + "bbi.app/Contents/MacOS/bbi\" "; #else - command += separator + "bbi.exe\" "; + command += separator + "bbi\" "; #endif - command += "\""+filename + "\"\""; + command += "\""+filename + "\""; + +#ifdef WIN32 + command += "\""; +#endif + command += " & "; printf ("EED WxGUIScriptingInterface::WxGUITextEditorRunBBI %s \n" , command.c_str() ); -- 2.45.1