mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Merge pull request #151 from emptyflask/rbx
Fix #148 - Rubinius' IO.popen arg order
This commit is contained in:
commit
e1358b406c
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ module ExecJS
|
|||
end
|
||||
|
||||
def exec_runtime(filename)
|
||||
io = IO.popen(binary.split(' ') + [filename, {err: [:child, :out]}], @popen_options)
|
||||
io = IO.popen(binary.split(' ') << filename, @popen_options.merge({err: [:child, :out]}))
|
||||
output = io.read
|
||||
io.close
|
||||
|
||||
|
|
Loading…
Reference in a new issue