From 62c3fb9b2492667f26d768e8e1f2317a264b01f1 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 18 Jun 2007 08:13:33 +0000 Subject: Just for sanity purposes - setting pipe non blocking. --- lib/LuaTask.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/LuaTask.cc b/lib/LuaTask.cc index 622cb16..7851afd 100644 --- a/lib/LuaTask.cc +++ b/lib/LuaTask.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaTask.cc,v 1.14 2007-06-17 15:24:44 pixel Exp $ */ +/* $Id: LuaTask.cc,v 1.15 2007-06-18 08:13:33 pixel Exp $ */ #include #include @@ -181,6 +181,7 @@ int LuaTask::Do() throw (GeneralException) { b = new Buffer(true); p = new InPipe(); + p->SetNonBlock(); if (!(pid = fork())) { p->Hook(); -- cgit v1.2.3