[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: popen problem with command line interpreter
- From: M Joonas Pihlaja <jpihlaja@...>
- Date: Sat, 27 Feb 2010 15:47:18 +0200 (EET)
On Sat, 27 Feb 2010, Drake Wilson wrote:
> More specifically, I imagine "improving" it in this case would
> introduce a distinctly nonportable element for not very much gain.
io.popen() is already a distinctly nonportable element. I think
ignoring SIGPIPE at the lua.c level and letting any resulting EPIPE
errors propagate through normal means of file:write(), file:close(),
etc. is probably the right thing to do here.
Joonas