[Win32utils-devel] Fwd: win32/process problem
Daniel Berger
djberg96 at gmail.com
Thu Dec 6 07:18:04 EST 2007
Heesob Park wrote:
<snip>
> Though it is doubtful whether this is the cause or not,
> Insert flowing two lines before ProcessInfo.new (line #409 of
> process.rb) might be helpful.
>
> CloseHandle(procinfo[8,4].unpack('L').first)
> CloseHandle(procinfo[12,4].unpack('L').first)
I'm somewhat afraid to do that, because I can't be sure other people
aren't using the process handle afterwards.
At the very least I should document that, however. Hmm, let me mull it over.
The good news is that his problem was fixed after upgrading the gem.
Thanks,
Dan
More information about the win32utils-devel
mailing list