1- The only event that handles the termination of an executable in 'CB' is 'cbEVT_PIPEDPROCESS_TERMINATED'.
2- in 'ToolsManager::Execute(...)' then you have to use the option 'LAUNCH_VISIBLE' to use a 'PipedProcess'
3- then the event ending is reserved for the parent in 'PipedProcess::OnTerminate(...)'
by 'wxPostEvent(m_Parent, event)'
4- I then added 'Manager::Get()->ProcessEvent(event)'
and I can get this event from a 'CB' plugin.
But I don't know if there are side effects, and if this modification is possible in 'CB' !
What do you think?