Hello I am having a problem with IO.pipe I have the following code: ... img = read_pipe.read() im = Magick::Image::read_inline(Base64.b64encode(img)).first im.format = "PNG" puts "1" read_pipe, write_pipe = IO.pipe puts "2" im.write(write_pipe) puts "3" write_pipe.close() puts "4" ... My problem is that when i try to close the write_pipe, the process seems to stop. In the console, I have the "puts '3'" printed but not the "puts '4'" and after that nothing happens. Anyone with an idea about this problem? -- Posted via http://www.ruby-forum.com/.