# File lib/childprocess/windows/handle.rb, line 40 def exit_code code_pointer = FFI::MemoryPointer.new :ulong ok = Lib.get_exit_code(@handle, code_pointer) if ok code_pointer.get_ulong(0) else close raise Error, Lib.last_error_message end end