From a45d2dc35562aad94f11ce0c82dfe5f53155462e Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 17 Sep 2021 15:50:31 +0200 Subject: [PATCH] #3245 merge vtk8itk4wx3-mingw64 MACOS --- .../bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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()); } -- 2.47.1