Permalink
Browse files

prefer globals to constants

  • Loading branch information...
1 parent 01248fd commit 39b06eb0cd4a5affe5f9382fed3e18dbf9017f6c @defunkt defunkt committed Jan 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cijoe.rb
View
@@ -89,7 +89,7 @@ def open_pipe(cmd)
pid = fork do
read.close
- STDOUT.reopen write
+ $stdout.reopen write
exec cmd
end

0 comments on commit 39b06eb

Please sign in to comment.