method
set_close_on_exec
v1_9_2_180 -
Show latest stable
- Class:
WEBrick::Utils
set_close_on_exec(io)private
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