- // if it returns false, we should return from wxExecute() with an error
- virtual bool CreateEndProcessPipe(wxExecuteData& execData);
-
- // test if the given descriptor is the end of the pipe create by the
- // function above
- virtual bool IsWriteFDOfEndProcessPipe(wxExecuteData& execData, int fd);
-
- // ensure that the write end of the pipe is not closed by wxPipe dtor
- virtual void DetachWriteFDOfEndProcessPipe(wxExecuteData& execData);
-
- // wait for the process termination, return whatever wxExecute() must
- // return
- virtual int WaitForChild(wxExecuteData& execData) = 0;
-
+ // Notice that this is only used when execData.flags contains wxEXEC_SYNC
+ // and does not contain wxEXEC_NOEVENTS, i.e. when we need to really wait
+ // until the child process exit and dispatch the events while doing it.
+ virtual int WaitForChild(wxExecuteData& execData);