From: eduardo.davila@creatis.insa-lyon.fr Date: Tue, 7 Nov 2023 17:40:02 +0000 (+0100) Subject: #3258 save the bbs in python version X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a4301a60cbe487d0cd8c9b9dc8eeb4a4386bfca4;p=bbtkGEditor.git #3258 save the bbs in python version --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index 6cc51c4..f019a5c 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -963,6 +963,12 @@ void wxGUIEditorGraphicBBS::OnSaveActualDiagram(wxCommandEvent& event) { SaveActualDiagram(pathfilename); SaveActualComplexBox(pathfilenamebbs); } //if isActualDiagramComplexBox + std::string cmdPy("source ~/.bashrc; bbs2 "+pathfilenamebbs+" py" ); + printf("EED wxGUIEditorGraphicBBS::OnSaveActualDiagram cmd:%s\n", cmdPy.c_str() ); + system( cmdPy.c_str() ); + std::string cmdjs("source ~/.bashrc; bbs2 "+pathfilenamebbs+" js" ); + printf("EED wxGUIEditorGraphicBBS::OnSaveActualDiagram cmd:%s\n", cmdjs.c_str() ); + system( cmdjs.c_str() ); } } //=========================================================================