a module that blocks SIGPIPE
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rockspecs
src
README.md

README.md

lua-nosigpipe

a module that ignore SIGPIPE.

Installation

luarocks install --from=http://mah0x211.github.io/rocks/ nosigpipe

Usage

Ignore the SIGPIPE automatically when this module has been loaded.

local ok = require('nosigpipe')
if not ok then
    print('SIGPIPE is not supported on this platform')
end