method
set_close_on_exec
v1_8_7_330 -
Show latest stable
- Class:
WEBrick::Utils
set_close_on_exec(io)public
No documentation available.
# File lib/webrick/utils.rb, line 30
def set_close_on_exec(io)
if defined?(Fcntl::FD_CLOEXEC)
io.fcntl(Fcntl::FD_CLOEXEC, 1)
end
end