From: nobu.nokada@... Date: 2005-10-19T08:15:21+09:00 Subject: Re: Killing Threads & Processes on Windows Hi, At Wed, 19 Oct 2005 07:44:35 +0900, x1 wrote in [ruby-talk:161230]: > x = Thread.new { system("c:/program files/internet explorer/iexplore.exe") } > x.alive # Works > > why doesnt x.kill actually "kill" internet explorer? When I think of > kill, I think of "gone" as in *nix gone. A thread and a process spawned within it are not related. > x = IO.popen("c:/program files/internet explorer/iexplore.exe") > x.close IO#close try to send a signal to the process, however, the problem is no signal mechanism across processes on Windows, unless the target has a console. -- Nobu Nakada