lua-users home
lua-l archive

Re: popen problem with command line interpreter

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


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

AltStyle によって変換されたページ (->オリジナル) /