Method: ChildProcess::Windows::Lib.msvcrt_name
- Defined in:
- lib/childprocess/windows.rb
.msvcrt_name ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/childprocess/windows.rb', line 9 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 |