git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55264
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
DECLARE_NO_COPY_CLASS(wxEndHandler)
};
DECLARE_NO_COPY_CLASS(wxEndHandler)
};
+#if HAS_PIPE_INPUT_STREAM
// class for monitoring our ends of child stdout/err, should be constructed
// with the FD and stream from wxExecuteData and will do nothing if they're
// class for monitoring our ends of child stdout/err, should be constructed
// with the FD and stream from wxExecuteData and will do nothing if they're
DECLARE_NO_COPY_CLASS(wxRedirectedIOHandler)
};
DECLARE_NO_COPY_CLASS(wxRedirectedIOHandler)
};
+#endif // HAS_PIPE_INPUT_STREAM
// helper function which calls waitpid() and analyzes the result
int DoWaitForChild(int pid, int flags = 0)
// helper function which calls waitpid() and analyzes the result
int DoWaitForChild(int pid, int flags = 0)
}
//else: synchronous execution case
}
//else: synchronous execution case
+#if HAS_PIPE_INPUT_STREAM
wxProcess * const process = execData.process;
if ( process && process->IsRedirected() )
{
wxProcess * const process = execData.process;
if ( process && process->IsRedirected() )
{
}
}
//else: no IO redirection, just block waiting for the child to exit
}
}
//else: no IO redirection, just block waiting for the child to exit
+#endif // HAS_PIPE_INPUT_STREAM
return DoWaitForChild(execData.pid);
}
return DoWaitForChild(execData.pid);
}