[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: popen problem with command line interpreter
- From: Rob Kendrick <rjek@...>
- Date: Sat, 27 Feb 2010 13:08:14 +0000
On Sat, 27 Feb 2010 09:34:49 -0300
Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> > It appears that the command line Lua interpreter does not trap
> > SIGPIPE:
>
> It does not. lua.c is mostly an ANSI C program. It'd have to be a
> POSIX program to trap SIGPIPE.
Although I notice that 5.2-work2 optionally includes unistd.h, so
perhaps it could optionally trap SIGPIPE?
B.