diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-02-02 13:01:39 -0800 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-02-02 13:01:39 -0800 |
commit | 66cfcaaaa9fe02bbc8cc740673d3699261a06ba0 (patch) | |
tree | 03cf54e9350359dc059287f76ce5c9a0c1e51e53 | |
parent | c16a595ca9282dfe3641861ce252b5a2409d6fe5 (diff) | |
parent | 4af7446e86b63a375c8543faed34ceff09df231d (diff) | |
download | mixlib-shellout-66cfcaaaa9fe02bbc8cc740673d3699261a06ba0.tar.gz |
Merge pull request #118 from chef/inherit
fixes regression where CreateProcessWithLogonW wants a boolean
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | appveyor.yml | 3 | ||||
-rw-r--r-- | lib/mixlib/shellout/windows/core_ext.rb | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 02a71ae..39aa782 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ rvm: - 1.9.3 - 2.0.0 - 2.1.2 +before_install: + - gem update bundler branches: only: diff --git a/appveyor.yml b/appveyor.yml index de4779c..0ea6535 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,8 +6,7 @@ platform: environment: matrix: - - ruby_version: "200" - - ruby_version: "193" + - ruby_version: "21" clone_folder: c:\projects\mixlib-shellout clone_depth: 1 diff --git a/lib/mixlib/shellout/windows/core_ext.rb b/lib/mixlib/shellout/windows/core_ext.rb index d889778..ab54a9e 100644 --- a/lib/mixlib/shellout/windows/core_ext.rb +++ b/lib/mixlib/shellout/windows/core_ext.rb @@ -42,7 +42,7 @@ module Process::Functions [:buffer_in, :buffer_in, :buffer_in, :ulong, :ulong, :pointer], :bool attach_pfunc :CreateProcessAsUserW, - [:ulong, :buffer_in, :buffer_in, :pointer, :pointer, :bool, + [:ulong, :buffer_in, :buffer_inout, :pointer, :pointer, :int, :ulong, :buffer_in, :buffer_in, :pointer, :pointer], :bool ffi_lib :user32 |