Hi,
<nobu.nokada / softhome.net> wrote in message
news:200208210542.g7L5gnP30363 / sharui.nakada.kanuma.tochigi.jp...
> Hi,
>
> At Wed, 21 Aug 2002 11:51:31 +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.

> --
> Nobu Nakada
>

Park Heesob.