From: Eduardo DAVILA Date: Fri, 17 Sep 2021 13:50:31 +0000 (+0200) Subject: #3245 merge vtk8itk4wx3-mingw64 MACOS X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a45d2dc35562aad94f11ce0c82dfe5f53155462e;p=bbtkGEditor.git #3245 merge vtk8itk4wx3-mingw64 MACOS --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index aca52c9..2cec649 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -568,6 +568,11 @@ void wxGUIEditorGraphicBBS::executeScript(std::string script) { command += " & "; #endif +#ifndef APPLE + command = "source ~/.profile; "+command; +#endif + + printf("RaC wxGUIEditorGraphicBBS::executeScript %s \n", command.c_str()); system(command.c_str()); }