Skip to content

Commit

Permalink
fix server execution in integration test
Browse files Browse the repository at this point in the history
use exec in running command to allow started process to be killed
  • Loading branch information
lest committed Nov 14, 2011
1 parent 893188b commit afd27d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def port
end end


def command def command
cmd = [] cmd = ['exec']
if RbConfig.respond_to? :ruby if RbConfig.respond_to? :ruby
cmd << RbConfig.ruby.inspect cmd << RbConfig.ruby.inspect
else else
Expand Down

0 comments on commit afd27d8

Please sign in to comment.