From: davila <> Date: Mon, 20 Feb 2012 16:47:07 +0000 (+0000) Subject: no message X-Git-Tag: v1_0_0~4 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=bbtkGEditor.git;a=commitdiff_plain;h=14ed88863b596dd2fbff10a8b53cc3c9227cf0c6 no message --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index 02a6ecf..4acbbd8 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -385,16 +385,16 @@ namespace bbtk tempFile.close(); std::string command = ""; - - #ifdef WIN32 - command += "\""; - #endif - command += "\""+ crea::System::GetExecutablePath(); - - -#ifdef MACOSX - command += separator + "../../../bbi.app/Contents/MacOS"; + +#ifdef WIN32 + command += "start /b "; #endif + + +// command += "\""+ crea::System::GetExecutablePath(); +//#ifdef MACOSX +// command += separator + "../../../bbi.app/Contents/MacOS"; +//#endif /* @@ -411,11 +411,18 @@ namespace bbtk command += separator + "bbi\" "; #endif */ - command += separator + "bbi\" "; + +//#ifndef WIN32 +// command += separator; +//#endif + + + command += "bbi "; command += "\""+filename + "\""; - #ifdef WIN32 - command += "\""; - #endif + +// #ifdef WIN32 +// command += "\""; +// #endif #ifndef WIN32 command += " & ";