Hello, firstly thanks a lot for this amazing framework. Now my question is;
I'm starting a notepad process everytime I press a button, I push_back the process handle to a vector and update a label and show the current number of the vector's size. Like this;
auto proc = CreateProcess("C:/Windows/notepad.exe");
procList.push_back(proc);
label1->SetText(procList.size());
Now, when the user clicks the close button of any notepad window opened by the app, I want to catch this, close that process and remove it from the vector and update the label with current number. I don't want to periodically check the status of every process in the vector. Is there a way to emit an event every time a notepad child process closed externally? In other words instead of polling the status of the process, I want to be notified when the status is changed.