Rémi Cools wrote: > Hi, > > I'm just discovering Ruby, so, be indulgent! > > When I use this code : > > cmd = "d:\\mes documents\\___3D\\imageMagick\\montage.exe" > system( [cmd, cmd], "-background", "#000000", "-geometry", "100%%", > "1.jpg", "2.jpg", "3.jpg") > > A black-window like the jpg in attachment opens itself for half a > second. > > Due to an iteration, this black-window opens itself dozen of times! > > It's not very professional. > > Is there a way to avoid that with Ruby ? If you run it from ruby within a command prompt it seems to work. Also appears if you use IO.popen it also works. -- Posted via http://www.ruby-forum.com/.