diff options
Diffstat (limited to 'mrblib/io.rb')
| -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 9644c2396..7e6ed9b1d 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 |
