On Mon, May 5, 2008 at 9:18 PM, Lui Fungsin <[EMAIL PROTECTED]> 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*").


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to