mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
fix server execution in integration test
use exec in running command to allow started process to be killed
This commit is contained in:
parent
893188b01d
commit
afd27d81a7
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class IntegrationTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def command
|
||||
cmd = []
|
||||
cmd = ['exec']
|
||||
if RbConfig.respond_to? :ruby
|
||||
cmd << RbConfig.ruby.inspect
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue