fixed IO redirection to work in wxExecute() in console applications (including the case when the child process outputs more than pipe buffer size) by using wxSelectDispatcher for multiplexing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,11 +58,9 @@ int wxGUIAppTraits::WaitForChild(wxExecuteData& execData)
|
||||
endProcData.tag = AddProcessCallback
|
||||
(
|
||||
&endProcData,
|
||||
execData.pipeEndProcDetect.Detach(wxPipe::Read)
|
||||
execData.GetEndProcReadFD()
|
||||
);
|
||||
|
||||
execData.pipeEndProcDetect.Close();
|
||||
|
||||
|
||||
// prepare to wait for the child termination: show to the user that we're
|
||||
// busy and refuse all input unless explicitly told otherwise
|
||||
|
||||
Reference in New Issue
Block a user