File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ def exec_runtime(filename)
173
173
begin
174
174
command = binary . split ( " " ) << filename
175
175
`#{ shell_escape ( *command ) } 2>&1 > #{ path } `
176
- output = File . open ( path , 'rb' , @popen_options ) { |f | f . read }
176
+ output = File . open ( path , 'rb' , ** @popen_options ) { |f | f . read }
177
177
ensure
178
178
File . unlink ( path ) if path
179
179
end
@@ -197,7 +197,7 @@ def shell_escape(*args)
197
197
198
198
def exec_runtime ( filename )
199
199
command = "#{ Shellwords . join ( binary . split ( ' ' ) << filename ) } 2>&1"
200
- io = IO . popen ( command , @popen_options )
200
+ io = IO . popen ( command , ** @popen_options )
201
201
output = io . read
202
202
io . close
203
203
@@ -209,7 +209,7 @@ def exec_runtime(filename)
209
209
end
210
210
else
211
211
def exec_runtime ( filename )
212
- io = IO . popen ( binary . split ( ' ' ) << filename , @popen_options . merge ( { err : [ :child , :out ] } ) )
212
+ io = IO . popen ( binary . split ( ' ' ) << filename , ** ( @popen_options . merge ( { err : [ :child , :out ] } ) ) )
213
213
output = io . read
214
214
io . close
215
215
You can’t perform that action at this time.
0 commit comments