From d2b2c18ba5b1a7314173f77bd2c5450d9c549701 Mon Sep 17 00:00:00 2001 From: Seth Chisamore Date: Sun, 23 Oct 2011 22:57:16 -0400 Subject: [CHEF-2684] Open4 is actually Open3 on Ruby 1.9 and 1.8 w/ win32-open3 --- chef/lib/chef/mixin/command/windows.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.1