RMagicK image.display does not return immediately

I am using RMagicK for Ruby to draw and display images. The problem is
that after:

img = rvg.draw()
img.diaplay

control is not returned to the caller immediately. The user has to
manually close the window for the program to continue. How can I bypass
this behavior?

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