Re: popen problem with command line interpreter
[
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: 2010年2月27日 15:47:18 +0200 (EET)
On 2010年2月27日, 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