]> Creatis software - bbtkGEditor.git/commitdiff
#3245 merge vtk8itk4wx3-mingw64 MACOS
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 17 Sep 2021 13:50:31 +0000 (15:50 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 17 Sep 2021 13:50:31 +0000 (15:50 +0200)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx

index aca52c92a5597683910234a40a13c550c37bebd9..2cec64923f836782efeb7a91f01a5cf07acb1266 100644 (file)
@@ -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());
 }