From: Rolando Abarca Date: 2008-07-20T05:49:00+09:00 Subject: Re: execve syscall in ruby On 19-07-2008, at 15:36, Daniel Kaminski wrote: > That's me again, now i know that i have to terminate an array with > null > pointer, is this possible in ruby? NULL is just a 0 (zero): $ ruby -e "syscall(11, '/home/rolando/test.rb', ['true', 'lala', 0].pack('ppi'), ['X=1', 0].pack('pi'))" ["lala"] {"X"=>"1"} $ cat test.rb #!/usr/local/bin/ruby p ARGV p ENV > -- > Posted via http://www.ruby-forum.com/. regards, -- Rolando Abarca M.