From 8b065b36df92d6b39a850d513ec429d6165fee69 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 23 Mar 2013 18:36:28 +0100 Subject: [PATCH] Process class: Pipe FD should be blocking. --- lib/base/process-unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/process-unix.cpp b/lib/base/process-unix.cpp index 6ae2d1566..525511009 100644 --- a/lib/base/process-unix.cpp +++ b/lib/base/process-unix.cpp @@ -52,7 +52,7 @@ void Process::Run(void) int fds[2]; #if HAVE_PIPE2 - if (pipe2(fds, O_NONBLOCK | O_CLOEXEC) < 0) { + if (pipe2(fds, O_CLOEXEC) < 0) { BOOST_THROW_EXCEPTION(posix_error() << boost::errinfo_api_function("pipe2") << boost::errinfo_errno(errno));