Permalink
Browse files

Use open3 instead of open4

  • Loading branch information...
1 parent 998bda9 commit 408ac967bf1d205393a8a67bc22654d6613cca55 @nakajima committed Aug 25, 2009
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

0 comments on commit 408ac96

Please sign in to comment.