X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FbbtkwxGUIEditorGraphicBBS.cxx;h=4acbbd84e0d2bbc3884d092a2b85c5c0c01803a3;hb=14ed88863b596dd2fbff10a8b53cc3c9227cf0c6;hp=02a6ecff24fd4c3534d4aa4747944e0ede9bff19;hpb=8b91a33c94a764997137720ed7b3ac283f5e0c4d;p=bbtkGEditor.git 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 += " & ";