#include "bbtkwxGUIEditorGraphicBBS.h"
#include "creaWx.h"
+#include "creaSystem.h"
#include <InterpreterBBS.h>
tempFile.open(filename.c_str());
tempFile << script;
tempFile.close();
-
- std::string command = "\"";
+ std::string command = "\""+ crea::System::GetExecutablePath();
+
+
+#ifdef MACOSX
+ command += separator + "../../../bbi.app/Contents/MacOS";
+#endif
+
#ifdef WIN32
command += "\"";
#endif
-
+
+ /*
+
//command += ConfigurationFile::GetInstance().Get_bin_path();
//EED command +="C:/temp/bbtkBIN/RelWithDebInfo//";
//EED command +="C:/Program Files/CreaTools/bbtk-0.9.5/bin";
command +=".";
command += separator + "bbi\" ";
#endif
+ */
+ command += separator + "bbi\" ";
command += "\""+filename + "\"";
-
#ifdef WIN32
command += "\"";
#endif