From: Daniel Berger Date: 2007-03-15T04:15:06+09:00 Subject: Re: Win32/Process at win32utils On Mar 14, 10:56 am, Ze Maria wrote: > Hi guys, I've made a simple program to test the Process.create: > > require 'rubygems' > require 'win32/process' > > pgname = "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe" > x = Process.create :app_name => pgname.to_s > sleep 5 > Process.kill(1,x) What version of win32-process are you using? As of 0.5.0 the Process.create method returns a ProcessInfo struct. So, your code should look like this: Process.kill(1, x.process_id) That may not be the issue, though, since you say it works fine until you add the active_record gem. Can you provide the full backtrace? Regards, Dan