[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] large amount of data will break open-pipe

From: felix winkelmann
Subject: Re: [Chicken-users] large amount of data will break open-pipe
Date: Fri, 9 May 2008 14:04:47 +0200

On Mon, May 5, 2008 at 9:18 PM, Lui Fungsin <address@hidden> wrote:
> My question is, whether the WITH-OPEN-PIPE macro, as an abstraction,
> should handle SIGPIPE (unlikely). If not, what's the preferred way to
> do this handling properly in chicken?

I recommend not to use "ignore-errors" and handle
I/O errors explicitly, for example with condition-case.

With an error handler wrapped, I get no hangs: it is waiting
for input. It may be that you have to flush the output before the prompt
make it visible (or use "print*").


reply via email to

[Prev in Thread] Current Thread [Next in Thread]