Skip to content

Instantly share code, notes, and snippets.

@jarib
jarib / file.rb
Created January 19, 2010 11:13
FFI wrapper for CreateProcess()
require "rubygems"
require "ffi"
module WinProcess
extend FFI::Library
ffi_lib "kernel32"
ffi_convention :stdcall
class Error < StandardError