Skip to content

Commit

Permalink
IO.popen change for JRuby ?
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Dec 15, 2022
1 parent 69af96c commit 3262fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helpers/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def cli_server(argv, unix: false, config: nil, merge_err: false, log: false, no_
env = puma_debug ? {'PUMA_DEBUG' => 'true' } : {}

if merge_err
@server = IO.popen(env, cmd, "r", :err=>[:child, :out])
@server = IO.popen(env, cmd, :err=>[:child, :out])
else
@server = IO.popen(env, cmd, "r")
@server = IO.popen(env, cmd)
end
wait_for_server_to_boot(log: log) unless no_wait
@pid = @server.pid
Expand Down

0 comments on commit 3262fa7

Please sign in to comment.