summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Chisamore <schisamo@opscode.com>2011-10-23 22:57:16 -0400
committerDaniel DeLeo <dan@opscode.com>2011-10-25 16:09:34 -0700
commitd2b2c18ba5b1a7314173f77bd2c5450d9c549701 (patch)
tree549c3e407d11e9fdaba2a903571b31447d5a7774
parent5593369d23a19784ed643869af0af6dec497c3aa (diff)
downloadchef-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.rb2
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]