Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use open3 instead of open4

  • Loading branch information...
commit 408ac967bf1d205393a8a67bc22654d6613cca55 1 parent 998bda9
@nakajima authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 vendor/albino.rb
View
4 vendor/albino.rb
@@ -41,7 +41,7 @@
# Chris Wanstrath // chris@ozmm.org
# GitHub // http://github.com
#
-require 'open4'
+require 'open3'
class Albino
@@bin = '/usr/local/bin/pygmentize'
@@ -60,7 +60,7 @@ def initialize(target, lexer = :ruby, format = :html)
end
def execute(command)
- pid, stdin, stdout, stderr = Open4.popen4(command)
+ stdin, stdout, stderr = Open3.popen3(command)
stdin.puts @target
stdin.close
stdout.read.strip
Please sign in to comment.
Something went wrong with that request. Please try again.