lib/imgkit/imgkit.rb in imgkit-1.1.0 vs lib/imgkit/imgkit.rb in imgkit-1.2.0
- old
+ new
@@ -65,10 +65,10 @@
def to_img
append_stylesheets
result = nil
stderr_output = nil
- Open4.popen4(*command) do |pid,stdin,stdout,stderr|
+ Open3.popen3(*command) do |stdin,stdout,stderr|
stdin << (@source.to_s) if @source.html?
stdin.close
result = stdout.gets(nil)
stderr_output = stderr.readlines.join
stdout.close