Permalink
Browse files

JRuby raises an Exception if process is already dead

  • Loading branch information...
1 parent 2efb82b commit 935d02346c2e8a6d0e15c2e3e2121c508b938758 @rkh rkh committed Mar 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/integration_helper.rb
@@ -119,6 +119,7 @@ def kill
Process.kill("KILL", pipe.pid)
rescue NotImplementedError
system "kill -9 #{pipe.pid}"
+ rescue Errno::ESRCH
end
def webrick?

0 comments on commit 935d023

Please sign in to comment.