[Win32utils-devel] Process.kill issue - 32vs64 bit

Daniel Berger djberg96 at gmail.com
Tue Feb 5 00:20:05 UTC 2013


On Mon, Feb 4, 2013 at 6:51 AM, Heesob Park <phasis at gmail.com> wrote:
> Hi,
>
> 2013/2/4 Daniel Berger <djberg96 at gmail.com>
>>
>> Can you kill a 64-bit process from a 32-bit Ruby?
>>
>> https://github.com/djberg96/win32-process/issues/9
>>
>
> 64bit processes can only be terminated from 64bit processes.
>
> Refer to
> http://urbackup.org/blog/?p=77
> http://www.powerprogrammer.co.uk/helpfile/Software%20Update%20Wizard/64bitnotes.html
>
> The workaround is kill a process using WMI
> http://community.spiceworks.com/scripts/show/498-kill-a-process-using-wmi

I should have been more specific. Actually, you can kill it using
signal 9, i.e. TerminateProcess, using the win32-process library. The
problem is with CreateRemoteThread.

Regards,

Dan


More information about the win32utils-devel mailing list