diff options
author | Seth Chisamore <schisamo@opscode.com> | 2011-10-23 22:57:16 -0400 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2011-10-25 16:09:34 -0700 |
commit | d2b2c18ba5b1a7314173f77bd2c5450d9c549701 (patch) | |
tree | 549c3e407d11e9fdaba2a903571b31447d5a7774 | |
parent | 5593369d23a19784ed643869af0af6dec497c3aa (diff) | |
download | chef-d2b2c18ba5b1a7314173f77bd2c5450d9c549701.tar.gz |
[CHEF-2684] Open4 is actually Open3 on Ruby 1.9 and 1.8 w/ win32-open3
-rw-r--r-- | chef/lib/chef/mixin/command/windows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/mixin/command/windows.rb b/chef/lib/chef/mixin/command/windows.rb index 9785ae6029..e3d0cfdb18 100644 --- a/chef/lib/chef/mixin/command/windows.rb +++ b/chef/lib/chef/mixin/command/windows.rb @@ -35,7 +35,7 @@ class Chef #XXX :user, :group, :environment support? - Open4.popen4(cmd) do |stdin,stdout,stderr,cid| + Open3.popen3(cmd) do |stdin,stdout,stderr,cid| if b if args[:waitlast] b[cid, stdin, stdout, stderr] |