123456789_123456789_123456789_123456789_123456789_

Module: FFI::LegacyForkTracking::IOExt

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/ffi/ffi.rb

Instance Method Summary

Instance Method Details

#popen(*args)

[ GitHub ]

  
# File 'lib/ffi/ffi.rb', line 85

def popen(*args)
  return super unless args[0] == '-'

  super(*args) do |pipe|
    FFI._async_cb_dispatcher_atfork_child if pipe.nil?
    yield pipe
  end
end