Kernel.system and ThreadDeath

Hi Gurus,

it seems well known that Kernel.system() can cause java ThreadDeath
errors
due to calling java.lang.Thread.stop() - see
https://github.com/jruby/jruby/issues/1183

My understanding is, apart from the error message it’s harmless. Is this
right?

What I’m wondering now, is there any way to avoid the error message in
the
client code?

Thanks for any hints.
Gergo

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs