summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-06-18 08:13:33 +0000
committerpixel <pixel>2007-06-18 08:13:33 +0000
commit62c3fb9b2492667f26d768e8e1f2317a264b01f1 (patch)
treed9e18b05d99f7f53f06bb6bbc97b825883e029ae
parent9ddabaa8646f39b2a84027ae653668f8ed8f0548 (diff)
Just for sanity purposes - setting pipe non blocking.
-rw-r--r--lib/LuaTask.cc3
1 files changed, 2 insertions, 1 deletions
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 <LuaTask.h>
#include <LuaHandle.h>
@@ -181,6 +181,7 @@ int LuaTask::Do() throw (GeneralException) {
b = new Buffer(true);
p = new InPipe();
+ p->SetNonBlock();
if (!(pid = fork())) {
p->Hook();