in lib/kinesis_producer/daemon.rb [100:114]
def start_child_daemon
@pid = Process.fork do
Process.setsid
configuration = make_configuration_message
credentials = make_set_credentials_message
command = [@binary, @out_pipe.to_path, @in_pipe.to_path, to_hex(configuration), to_hex(credentials)]
if @metrics_credentials
metrics_credentials = make_set_metrics_credentials_message
command.push(to_hex(metrics_credentials))
end
exec(*command)
end
sleep 1
end