[Win32utils-devel] Problem with the new version of win32-process
djberg96 at gmail.com
Sun May 7 07:19:56 EDT 2006
Heesob Park wrote:
> 2006/5/7, Daniel Berger <djberg96 at gmail.com>:
>> Hi all,
>> Well, I've messed something up in the pure Ruby Process.fork method. If
>> you run the test_fork_waitpid.rb file (in CVS), you'll see this error:
>> c:/ruby/lib/ruby/site_ruby/1.8/windows/process.rb:132:in `call': can't
>> convert false into Integer (TypeError)
>> from c:/ruby/lib/ruby/site_ruby/1.8/windows/process.rb:132:in
>> C:/eclipse/workspace/win32-process/lib/win32/process.rb:67:in `waitpid2'
>> from C:/eclipse/workspace/win32-process/examples/test_fork.rb:46
>> Which means it's returning false instead of the pid. Any ideas?
> The error is due to static variable "i" is not ported correctly to ruby.
Aha! Many thanks!
More information about the win32utils-devel