Make write end of the child process pipe non-blocking under Unix.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:24 +0000 (11:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:24 +0000 (11:57 +0000)
commit3fee3116ddb5c4ce3bd87731b92b1c6d22b4ae15
treeca5f2b43665630dfc5d841bcc99702360d509e43
parentb835320170f0c5d5d38d4d2ab0eea9612141faa1
Make write end of the child process pipe non-blocking under Unix.

We need to make at least one end of the pipe used to communicate with
wxExecute() child process non-blocking to avoid deadlocks, so unblock the
write end of the pipe. It seems to be unnecessary to unblock the reading ends
of std{out,err} pipes as we can already check for the presence of input there.
This is also consistent with wxMSW behaviour.

Closes #12636.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/unix/utilsunx.cpp