vendor/bundle/ruby/2.5.0/gems/posix-spawn-0.3.13/test/test_child.rb
# Kill any orphaned processes in our process group before continuing but
# ignore the TERM signal we receive.
Kill any orphaned processes in our process group before continuing but
ignore the TERM signal we receive.
Kill any orphaned processes in our process group before continuing but ignore the TERM signal we receive .
def teardown
    trap("TERM") { trap("TERM", "DEFAULT") }
    begin
      Process.kill("-TERM", Process.pid)
      Process.wait
    rescue Errno::ECHILD
    end
  end
def teardown trap ( "TERM" ) { trap ( "TERM" , "DEFAULT" ) } begin Process . kill ( "-TERM" , Process . pid ) Process . wait rescue Errno :: ECHILD end end
Kill any orphaned processes in our process group before continuing but
ignore the TERM signal we receive.
Kill any orphaned processes in our process group before continuing but ignore the TERM signal we receive .