lib/chef/mixin/command/windows.rb in microwave-0.1004.6 vs lib/chef/mixin/command/windows.rb in microwave-0.1006.1
- old
+ new
@@ -33,10 +33,10 @@
# By default, we are waiting before we yield the block.
args[:waitlast] ||= false
#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]
# send EOF so that if the child process is reading from STDIN
# it will actually finish up and exit