Hi, At Wed, 21 Aug 2002 16:12:19 +0900, Park Heesob wrote: > > > threads.each { |t| > > > TerminateProcess.Call(OpenProcess.Call(1,0,t['pid']),0) if t.alive? > > > } > > > > This wouldn't work in 1.7 under Windows 9x, since pid is > > negated. Use Process.kill instead, it does same thing and > > error checks, and is even portable. > > > > Process.kill(:INT, *threads.collect {|t| t['pid']}) > > > > Thanks, but it fails with Errno::E087 in Windows XP. Apparently, there're some bugs. What's your ruby version and release date? -- Nobu Nakada