Sha256: c5a7a74904d346da7388d2b57005aed110e15978e067bd101f67e5acf5ced5a2
Contents?: true
Size: 828 Bytes
Versions: 18
Compression:
Stored size: 828 Bytes
Contents
require "ffi" require "rbconfig" module ChildProcess module Windows module Lib extend FFI::Library def self.msvcrt_name host_part = RbConfig::CONFIG['host_os'].split("_")[1] manifest = File.join(RbConfig::CONFIG['bindir'], 'ruby.exe.manifest') if host_part && host_part.to_i > 80 && File.exists?(manifest) "msvcr#{host_part}" else "msvcrt" end end ffi_lib "kernel32", msvcrt_name ffi_convention :stdcall end # Library end # Windows end # ChildProcess require "childprocess/windows/constants" require "childprocess/windows/structs" require "childprocess/windows/functions" require "childprocess/windows/handle" require "childprocess/windows/api" require "childprocess/windows/io" require "childprocess/windows/process"
Version data entries
18 entries across 18 versions & 2 rubygems