diff options
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/io.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrblib/io.rb b/mrblib/io.rb index e688a32fe..4bcf4f800 100644 --- a/mrblib/io.rb +++ b/mrblib/io.rb @@ -26,11 +26,11 @@ class IO end end - def self.popen(command, mode = 'r', &block) + def self.popen(command, mode = 'r', opts={}, &block) if !self.respond_to?(:_popen) raise NotImplementedError, "popen is not supported on this platform" end - io = self._popen(command, mode) + io = self._popen(command, mode, opts) return io unless block begin |
