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日, Rob Kendrick wrote:
>
> Although I notice that 5.2-work2 optionally includes unistd.h, so
> perhaps it could optionally trap SIGPIPE?
It would be wrong for Lua to trap SIGPIPE. Only the program knows if that
would be the right thing to do. SIGPIPE is not trapped by detfault in C so
it should not be by default in Lua.
Tony.
-- 
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.

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